How to request in server side for Credentials Provider #4641
Unanswered
crrmacarse
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 💬
I'm having trouble figuring out how to request in backend for a credentials provider login.
I created 2 Credential Provider with different ids(
credentials
andtoken
)I attempted the following(per https://next-auth.js.org/getting-started/rest-api#post-apiauthsigninprovider)
But it seems to return 404 Not Found
I also tried utilizing the route used by the default login form
But also a 404(also included a csrfToken)
Any help would be pretty much appreciated
How to reproduce ☕️
Login a user in backend via REST with a custom credential provider("token")
Expected behavior
Authenticate a user
What happened
Returns 404 not found
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions