How to either avoid using NEXTAUTH_URL or make it dynamic? #4798
Unanswered
bnssoftware
asked this question in
Help
Replies: 1 comment
-
You can set this in the next-auth url config. Maybe you dont need to hard-code it, bc you can maybe fetch some url in js? |
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.
-
Question 💬
We run a SaaS and offer custom domains. Our base deployment is account.our-domain.com and we have a customer such as account.customer-domain.com which points to account.our-domain.com.
Since NextAuth seems to require a hard coded value for NEXTAUTH_URL, we can't get this to work.
Is there any way to tell NextAuth to just use the current host name?
How to reproduce ☕️
Na
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions