Skip to content

Rejected by CORS on client-side browser login flow #1993

Answered by Leo843
Leo843 asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, found the issue!

  • Content-Type was not included in the allowed_headers: list in Kratos configuration.
  • After that I got a CSRF issue because I did not set credentials: 'include' when calling fetch.

Hello @vinckr,
I got the image version from a copy/paste alongside the compose.yml file, there is no reason to not upgrade.
Thank you for your reply!

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Leo843
Comment options

You must be logged in to vote
2 replies
@vinckr
Comment options

@jaya-kumar-softobiz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants