Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding NEXTAUTH_URL during runtime for multitenancy #8151

Closed
rajat1saxena opened this issue Jul 27, 2023 · 0 comments
Closed

Overriding NEXTAUTH_URL during runtime for multitenancy #8151

rajat1saxena opened this issue Jul 27, 2023 · 0 comments
Labels
question Ask how to do something or how something works

Comments

@rajat1saxena
Copy link

Question 馃挰

Per this reply, I can override NEXTAUTH_URL dynamically and I've tested the same in my multitenant app and it is working correctly.

Someone in the same thread mentioned that this approach isn't thread safe. Is it really a concern here and is this a good way to accommodate multi-tenancy since it is not supported officially as of now?

How to reproduce 鈽曪笍

N/A

Contributing 馃檶馃徑

Yes, I am willing to help answer this question in a PR

@rajat1saxena rajat1saxena added the question Ask how to do something or how something works label Jul 27, 2023
@nextauthjs nextauthjs locked and limited conversation to collaborators Jul 27, 2023
@balazsorban44 balazsorban44 converted this issue into discussion #8154 Jul 27, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Ask how to do something or how something works
Projects
None yet
Development

No branches or pull requests

1 participant