Replies: 2 comments
-
You should also export the new provider here: https://github.com/nextauthjs/next-auth/blob/main/src/providers/index.js |
Beta Was this translation helpful? Give feedback.
-
Hi there, the source code appears to have moved on but I have a similar request. I'd like to add try and add a provider for UNiDAYS which is a student network and verification provider. In the example by @heiwais25 the location of the providers is straight under Should that package be edited directly in this repo? It doesn't seem like that would be the correct thing to do! 🙃 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Your question
Where do I need to modify if I want to contribute to the project by adding a new custom provider?
What are you trying to do
Recently, I implemented a new custom provider for Naver (https://www.naver.com/) which is the major web site in South Korea. To contribute to the project, I added a new provider configuration in this path (
src/providers/naver.js
). The content of the file is like this. (https://github.com/heiwais25/next-auth)However, I met this problem. I think there must be something more I need to implement to add a new provider. Could you help me? Thanks a lot.
Feedback
Documentation refers to searching through online documentation, code comments and issue history. The example project refers to next-auth-example.
Beta Was this translation helpful? Give feedback.
All reactions