CredentialsProvider with nextjs and typescript never running the authorize function #4491
Unanswered
JessBonanno
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.
-
I have been trying to get CredentialsProvider working with a nextjs app with typescript and when making the api call to api/auth/[...nextauth] I'm getting a 200 with ok: true even when I enter wrong credentials. I have added console logs into the authorize function as well as the callbacks and it seem they are never running and I am very confused. Any and all help in figuring out what I'm doing wrong would be greatly appreciated. Here is the code for CredentialsProvider
Here is the signin code
Beta Was this translation helpful? Give feedback.
All reactions