using NEXTAUTH_URL from runtime env #11985
Unanswered
lucifer-simplai
asked this question in
Help
Replies: 0 comments
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 an application which uses next-auth.js for authentication.
I have a requirement to create a golden image for the project which then can be deployed at any domain and the next-auth will work with all the domain. now sine my current understanding is that the NEXTAUTH_URL is picked from the env at build time how can I change this behaviour to pick this variable at runtime so that our application can be dynamic and the same build can be deployed at any DNS and it will work as expected without breaking.
Beta Was this translation helpful? Give feedback.
All reactions