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
For a post request A, send in the header with a csrf token A1.
The request A failed, request is unauthorized, for token A1 is wrong, in the response header, returns the csrf token B1.
The request A use the B1 in the header as the new csrf token to start a new request, the request is now authorized.
Can any one show an example of how to implement with above logic to include the two steps into one?
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
-
For a post request A, send in the header with a csrf token A1.
The request A failed, request is unauthorized, for token A1 is wrong, in the response header, returns the csrf token B1.
The request A use the B1 in the header as the new csrf token to start a new request, the request is now authorized.
Can any one show an example of how to implement with above logic to include the two steps into one?
Beta Was this translation helpful? Give feedback.
All reactions