What is the proper way to set up callback urls? #4904
Unanswered
nicolasguasca1
asked this question in
Help
Replies: 1 comment 6 replies
-
The config looks fine to me. Would it work if you use |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. After reviewing the docs and checking the tutorial it seems like I have everything set up but Im geting the [next-auth][error][OAUTH_CALLBACK_ERROR] when using Github Provider.
Here is my [...nextauth].ts file:
I set up the callback URL on my OAuth Github App as: https://localhost:3000/api/auth/callback/github (Im using ssl on local as my intention is to try Facebook login later).
I have NEXTAUTH_URL=https://localhost:3000 as well.
The error states a mismatch in the redirect uri but they are both the same. Am I missing any additional config? How does this relate to the "callbacks" parameter inside the [...nextauth].ts file? I might be confused so any help will be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions