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
I was developing it with https (https://localhost:3443), I forgot setting NEXTAUTH_URL.
However, the error did not occur because of the code below.
Even though it wasn't intended, This code makes all redirection and callbacks redirect to http://localhost:3000
I think it must occur an error and developer must realize the mistakes in the build or test time.
And default value is localhost, so it shouldn't offer any help on live.
It makes my project run well only locally!
enhancementNew feature or requesttriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
1 participant
Converted from issue
This discussion was converted from issue #5592 on October 18, 2022 20:01.
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
-
Description 📓
I was developing it with https (https://localhost:3443), I forgot setting NEXTAUTH_URL.
However, the error did not occur because of the code below.
Even though it wasn't intended, This code makes all redirection and callbacks redirect to http://localhost:3000
I think it must occur an error and developer must realize the mistakes in the build or test time.
And default value is localhost, so it shouldn't offer any help on live.
It makes my project run well only locally!
How to reproduce ☕️
Contributing 🙌🏽
Yes, I am willing to help implement this feature in a PR
Beta Was this translation helpful? Give feedback.
All reactions