Submitting registration flow returns 400 error #4443
-
|
Wondering whether this is expected behavior because it feel really strange:
My question is: why is this an error and request is bad? Per documentation HTTP 400 indicates that the submission was invalid. What would be the valid way to submit a login flow without getting an error? Documentation is a little bit vague on this so any help is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Hey @dmitry-exposure The form returned by the create flow endpoint reflects the enabled credential methods. If none are enabled, or if your identity schema does not mark any trait as an identifier for a credential method, the form will not be submittable and you will see this error. I assume you want to use the |
Beta Was this translation helpful? Give feedback.
... actually it's not an issue so I can't close it. But the solution we had is: we have kratos behind a proxy so we are just rewriting the response code for this particular instance.