Skip to content
Discussion options

You must be logged in to vote

@brilang You need to move your [...nextauth].js inside of an auth folder under the api folder. The complete path to the file should be api/auth/[...nextauth].js. As an aside, you should remove any providers you won't need from the [...nextauth].js file.

Replies: 1 comment 2 replies

Comment options

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

@brilang
Comment options

Answer selected by balazsorban44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1720 on April 14, 2021 07:28.