Multitenancy
#10090
Replies: 2 comments 1 reply
-
...would |
Beta Was this translation helpful? Give feedback.
0 replies
-
@scottlet Did you ever figure this out? We're also struggling getting multi tenancy to work with next-auth@5 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I have two websites - they’re actually just the one website but using cnames. One serving .co.uk and one serving .ie
I am currently using OidcClient for auth and I am trying to move our auth to NextAuth
But I am stuck on the
NEXTAUTH_URL
having to be an environment variable, when I need it to be either.ie/order/api/auth
or.co.uk/order/api/auth
depending on which website the original request came from.I cannot find a sensible solution to this, does anyone have any suggestions? About the only way I can think of right now is to actually split this into two website deployments, doubling my infrastructure costs, but allowing separate environment variables to exist for each tenant.
Beta Was this translation helpful? Give feedback.
All reactions