Store auth data on a client (frontend) after receiving an auth response from the host (backend).
Specifically, this stores the CSRF token into local storage (which doesn't need to be a secret).
Alternatively, if the given response failed, this will wipe the existing (if anyone) stored CSRF
token.
Store auth data on a client (frontend) after receiving an auth response from the host (backend). Specifically, this stores the CSRF token into local storage (which doesn't need to be a secret). Alternatively, if the given response failed, this will wipe the existing (if anyone) stored CSRF token.