Skip to content

CSRF Error during Login Flow despite passing cookies, X-CSRF-Token headers on SvelteKit Server Side. #4307

Answered by aeneasr
devNamanG asked this question in Q&A
Discussion options

You must be logged in to vote

The token value you send in the body comes from the API response of /self-service/login/flows and is a different value than the one from the cookie :)

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@devNamanG
Comment options

@aeneasr
Comment options

Answer selected by vinckr
@devNamanG
Comment options

@aeneasr
Comment options

@devNamanG
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something is not working.
2 participants
Converted from issue

This discussion was converted from issue #4030 on February 13, 2025 17:01.