Skip to content
Discussion options

You must be logged in to vote

I figured it out. It was because I declared a custom redirect_uri in my authorization block and had a corresponding file for that redirect. Apparently that is not needed at all, you don't need a file for the callback because next-auth does magic during the callback. Just need to make sure that the actual redirect_uri that next-auth uses is whitelisted on your provider, then everything else should work.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rametta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
providers triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
1 participant
Converted from issue

This discussion was converted from issue #4040 on February 22, 2022 11:31.