Replies: 1 comment 1 reply
-
Hi there, this sounds like a configuration error to me. Could you check in the Devtools Network tab to see if the login request is there? |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
Hey guys i want to use nextauth credentials providers and there are several problems that i encountered
here is my code within in the [...nextauth].ts
and this is the code from login in form that i created
for some reason, the console.log in the browser only show
console.log({ ...value });
this one. and there is no console log in the terminal, not even theconsole.log('test')
i was expecting my data of the login request to be console.log and store the data to cookies or session in order to make it work in nextjs getserversideprops for protecting routes
is there anything that i missed? i follow the guide, retry about 4 6th times with next-js example. did not work at all.
please help me :((
How to reproduce ☕️
clone this https://github.com/vercel/next.js/tree/canary/examples/with-next-auth repository
run through the tutorial that the documentation provided.
create a simple sign in method and backend services.
make sure the api work on postman. try to sign in with my logics above
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions