You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the project need, I want use different auth route.
What are you trying to do
I deploy two containers for frontend and backend, and the backend container already took the /api route, thus, nextauth api route in frontend needs to rewrite to other path, when I change NEXTAUTH_URL to "http://example.com/custompath/api/auth" , it's just got error ,
Reproduction
Feedback Documentation refers to searching through online documentation, code comments and issue history. The example project refers to next-auth-example.
This discussion was converted from issue #992 on December 25, 2020 15:38.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Your question
For the project need, I want use different auth route.
What are you trying to do
I deploy two containers for frontend and backend, and the backend container already took the /api route, thus, nextauth api route in frontend needs to rewrite to other path, when I change NEXTAUTH_URL to "http://example.com/custompath/api/auth" , it's just got error ,
Reproduction
Feedback
Documentation refers to searching through online documentation, code comments and issue history. The example project refers to next-auth-example.
Beta Was this translation helpful? Give feedback.
All reactions