Replies: 6 comments 2 replies
-
|
You can set the secret as a parameter to Please please please let us set NEXTAUTH_URL just like secret. |
Beta Was this translation helpful? Give feedback.
-
|
Did anyone find a solution to this problem? |
Beta Was this translation helpful? Give feedback.
-
|
I'm facing the same issue |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
Any update on this? |
Beta Was this translation helpful? Give feedback.
-
|
Why is this still not addressed? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
I have a React.JS/Next.JS application which can be accesed through 2 URLs and I configure it to use separate
clientIdandclientSecretbased onreq.headers.host.I need to dynamically configure
NEXTAUTH_URLbased on the URL my application is accessed from. The DuendeIDS6Provider logs"Invalid redirect_uri:andshows redirecting to the base url configure in
NEXTAUTH_URL.How to configure
NEXTAUTH_URLandNEXTAUTH_SECRETdynamically based on the same parameter at runtime?How to reproduce ☕️
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions