Next.js Discord

Discord Forum

How to manege properly NextAuth

Unanswered
JChicano posted this in #help-forum
Open in Discord
Original message was deleted.

3 Replies

1. I have a Login/page.tsx that has a form, after sumittion calls the signIn function of NextAuth
2. After that the page refreshes and remains on the same page but changes the url from /en/login to http://localhost:3000/en/Login?callbackUrl=http%3A%2F%2Flocalhost%3A3000%2F
and it loads this two cookies