Send the same value back in the X-CSRF-Token header when calling POST /api/auth/csrf/submit. Tokens are signed by the server (csrf_<random>.<hmac>), the signed double-submit pattern.Send the same value back in the X-CSRF-Token header when calling POST …. Tokens are signed by the server (csrf_<random>.<hmac>), the signed double-submit pattern.
Set-Cookie:XSRF-TOKEN=csrf_d30ce4a0283122160df146124303d444d149c2cf;path=/;samesite=lax{"csrfToken":"csrf_d30ce4a0283122160df146124303d444d149c2cf","message":"Cookie XSRF-TOKEN set. POST /api/auth/csrf/submit with the same value in the X-CSRF-Token header."}
Sign in to see the details
The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.