Multitenant app - How and where to invalidate a session? #2854
Unanswered
madeinspace
asked this question in
Help
Replies: 1 comment
-
We don't currently support this kind of setup, and I also don't really know how you use NextAuth.js in your project. a related discussion is ongoing in #2414 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have a multitenant application and I'm wondering what's the best practice on how to invalidate a session (signout ? ) when the tenant changes?
ie: domain/tenant1 is authenticated, now if I change to domain/tenant2 I'd like to detect the change and signout tenant1.
What's best practice, any similar usecases? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions