Where can I query my database for Facebook logins with NextAuth.js? #4684
Unanswered
dalegacusan
asked this question in
Help
Replies: 0 comments
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.
-
Question 💬
If in Credentials provider, there is an
authorize
property where you can query your database to find a user with a certain email and password.For Facebook provider, there seems to be none. I'm not sure where I can query my database to check if the facebook user's email already exists. If not, then I will redirect that use to a certain page to complete registration.
How to reproduce ☕️
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions