Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update native recovery code flow docs #3806

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion selfservice/flow/recovery/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ func (h *Handler) RegisterAdminRoutes(admin *x.RouterAdmin) {
//
// This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on.
//
// If a valid provided session cookie or session token is provided, a 400 Bad Request error.
// The "code" recovery flow will not work on native devices, unless the
// [use_continue_with_transitions](https://github.com/ory/kratos/blob/0b32ce113be47aa724d3468062ced09f8f60c52a/contrib/quickstart/kratos/email-password/kratos.yml#L101) feature flag is set in the kratos config file.
// Otherwise, updating the recovery flow with the code that was sent via E-Mail will lead to a 422 Browser Location Change required error.
//
// Providing a valid session cookie or session token will result in a 400 Bad Request error.
//
// On an existing recovery flow, use the `getRecoveryFlow` API endpoint.
//
Expand Down