You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @Benehiko thank you for opening this. It will definitely help users who struggled with the two path ways i.e. email, then code like myself. It took me a while to understand this separation as nothing pointed to this in the docs.
For the verification code not showing that is also something I struggled with and documented part of an issue.
Preflight checklist
Describe your problem
The recovery API documentation shows all of the fields for the body on POST for all states.
https://www.ory.sh/docs/reference/api#tag/frontend/operation/updateRecoveryFlow
The verification API documentation doesn't even show the code method.
https://www.ory.sh/docs/reference/api#tag/frontend/operation/updateVerificationFlow
This might confuse some users since we don't indicate that the Recovery & Verification flows can have two states.
The recovery flow is submitted twice, once to get the email sent out to the email, and the second to submit the code sent out from the email.
The flow kind of looks a bit like this:
Describe your ideal solution
We should update the description to indicate what is required when.
Not sure how we could show multiple states with the OpenAPI spec.
Workarounds or alternatives
None
Version
latest
Additional Context
https://github.com/orgs/ory/discussions/54#discussioncomment-5314981
The text was updated successfully, but these errors were encountered: