Skip to content

Successful Recovery returns 422 instead of 200 #53

Answered by Benehiko
Big-Brother-Man asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Big-Brother-Man

When working with AJAX the response is 422 when a new flow needs to be created. In server-side Apps a redirect will occur automatically.

This happens in submitting oidc and passwordless flows, among other instances.

https://www.ory.sh/docs/kratos/bring-your-own-ui/custom-ui-advanced-integration#spas-and-the-422-error

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Big-Brother-Man
Comment options

@Benehiko
Comment options

@Big-Brother-Man
Comment options

Answer selected by Big-Brother-Man
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants