Add dynamic url for login redirect #11376
Unanswered
stinkymonkeyph
asked this question in
Help
Replies: 1 comment
-
Similar discussion: #9785 |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
No response
Background
Current setup only allows NEXTAUTH_URL to be set beforehand, this is good when you know your domain already but what if we are to integrate a CI/CD with dynamic hostname for the instance?
Netlify offers a deploy preview where a PR can be deployed for testing, where NEXTAUTH_URL needs to be dynamic.
Proposal
Find a way to dynamically detect or set origin/host url without relying solely on NEXTAUTH_URL
P.S. I am interested in contributing with guidance
Beta Was this translation helpful? Give feedback.
All reactions