Replies: 1 comment 1 reply
-
You are using the v3 provider syntax with https://next-auth.js.org/getting-started/upgrade-v4#providers https://next-auth.js.org/configuration/providers/oauth#options Looks like we have some outdated docs page on https://next-auth.js.org/configuration/providers I'll open an issue on it in the docs repo! (https://github.com/nextauthjs/docs/issues/118) May I ask how did you land on it? Was it from a google search or some navigation? |
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
-
Question 💬
I am currently working on custom providers for
Notion
andPinterest
.For the tutorial I followed this next-auth documentation and Pinterest Developer documentation creating the following object in
[...nextauth].js
Version:
4.0.0-beta.6
This produces the following errors:
I am pretty new to JS and coming more from a Pyhton background, so might be a beginner mistake. However, when I tried to debug and go deeper in the source code I was a bit list and couldn't understand why the
authorizationUrl
could not be picked up from the object. Same error happend on Notion, despit having verified there that the authorization url is 100% functional when I copied it to the browser.Any help or guidance on how to further debug would be very much appreciated, thanks 🙏
How to reproduce ☕️
[...nextauth].js
process.env.PINTEREST_REDIRECT_URI process.env.PINTEREST_CLIENT_ID process.env.PINTEREST_CLIENT_SECRET
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Beta Was this translation helpful? Give feedback.
All reactions