delightful-microphone-63906
08/13/2025, 10:20 AMidentifier_first
method using kratos go sdk, a 400 status is returned (I opened a bug about that: https://github.com/ory/kratos/issues/4453). The login flow is still returned though, which is confirmed by the http docs: https://www.ory.sh/docs/kratos/reference/api#tag/frontend/operation/updateLoginFlow.
Should I consider the 400 a 'successful', expected response and continue to the next login step or does that indicate a failure? Are there any other circumstances in which the identifier first flow can return a 400?steep-lamp-91158
delightful-microphone-63906
08/14/2025, 8:51 AMthankful-ocean-87883
08/19/2025, 8:50 AM400
or 422
) back.
The question is whether there is a way that we can safely decide whether Kratos returned an error because something went wrong OR if it returned an error because it is a backchannel request (like in this case).steep-lamp-91158