Skip to content

Can't make basePath to work #4750

Discussion options

You must be logged in to vote

Update

The above issue can be fixed by defining NEXTAUTH_URL like:

NEXTAUTH_URL=http://localhost:3000/auth/api/auth

It's still unclear why it's necessary to set basePath twice but whatever 🤷

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gyurisc
Comment options

@ivan-kleshnin
Comment options

Answer selected by ivan-kleshnin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants