Error: Callback for provider type oauth not supported | VK Provider client_id is undefined #3587
Unanswered
nikitaSobolev2
asked this question in
Help
Replies: 2 comments 2 replies
-
Made a PR to fix this issue #3709 |
Beta Was this translation helpful? Give feedback.
1 reply
-
@H1ako dude, had you solved this? I have the same problem now(( |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
Error: Callback for provider type oauth not supported
URL: http://localhost:3000/api/auth/callback/vk?code=MY_CODE&state=MY_STATE
Hey guys!
I got this error when i was trying to auth with VK provider.
So i checked module's files and found this line:
node_modules/next-auth/core/lib/oauth/callback.js; line: 114
provider.callbackUrl, params, checks: (states are the same)

My VK provider (data is correct):
Also my VK App:
DOC: https://next-auth.js.org/providers/vk
How to reproduce ☕️
[...nextauth].js
LOGIN_URL
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Thanks for any help
Beta Was this translation helpful? Give feedback.
All reactions