You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need help with a problem I'm experiencing in my saas, when I try to log into my account and I get the password wrong, I have to refresh the token before trying to log in again because otherwise I get the message “CSRF token mismatch.”, and it does it to me on all forms.
The problem always occurs after a POST request that falls in 401. If the api returns the 401 only once, then all my forms stop working and I get “CSRF token mismatch.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I need help with a problem I'm experiencing in my saas, when I try to log into my account and I get the password wrong, I have to refresh the token before trying to log in again because otherwise I get the message “CSRF token mismatch.”, and it does it to me on all forms.
The problem always occurs after a POST request that falls in 401. If the api returns the 401 only once, then all my forms stop working and I get “CSRF token mismatch.
Beta Was this translation helpful? Give feedback.
All reactions