Next.js Discord

Discord Forum

Next Auth - Im losing sessions at some times

Atlantic herring posted this in #help-forum
Open in Discord
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