Replies: 3 comments
-
I can confirm this. I need to set AUTH_URL (being behind a reverse proxy), and although I never set basePath in my auth config, I keep getting that warning. I bet this is a bug, the check for basePath (in case AUTH_URL is set, probably here) is likely done after basePath is set to some default value. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I opened an issue for this: #11522 |
Beta Was this translation helpful? Give feedback.
0 replies
-
We fixed this in #11636. |
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.
-
Hello, I am upgrading from V4 to V5 and faced this warning:
[auth][warn][env-url-basepath-redundant].
I read the doc (https://authjs.dev/reference/warnings/#env-url-basepath-redundant) and it says that
However, I have no idea what is the "authConfig.basePath" and can't find it anywhere. I tried removing the AUTH_URL in my .env but this cause the error
UnknownAction
when I try to sign in.I am not sure what the problem is. It would be greatly appreciated if someone could help.
Beta Was this translation helpful? Give feedback.
All reactions