Next.js Discord

Discord Forum

Next Auth - Im losing sessions at some times

Unanswered
Atlantic herring posted this in #help-forum
Open in Discord
Avatar
Atlantic herringOP
I have a page that has a form, lets call it NewReviewPage

Its guarded by Nextauth middleware.
- a user is there filling up the form. when he submitted an error shown bcos the user session is empty
- he opened another tab
- he went to previous tab which is the NewReviewPage
- he submits the form successully

0 Replies