Skip to content

Issue with non-auth recipes in multitenancy #943

@sattvikc

Description

@sattvikc

🐛 Bug Report

Assume an user id (non supertokens) userId

  • Create a session on tenant t1 on database d1 for userId
  • Assign a role for userId on tenant t2 on database d2
  • Verify email for the userId on tenant t3 on database d3

Now trying to fetch isEmailVerified (app specific api). it will return as false. this is because we try to find the storage based on the userId and the first one we find might not have relevant data.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions