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

Recovery flow is not redirecting user to settings page when 2FA is enabled #2832

Closed
3 of 6 tasks
mmeller-wikia opened this issue Oct 24, 2022 · 1 comment · Fixed by #3263
Closed
3 of 6 tasks

Recovery flow is not redirecting user to settings page when 2FA is enabled #2832

mmeller-wikia opened this issue Oct 24, 2022 · 1 comment · Fixed by #3263
Labels
bug Something is not working.

Comments

@mmeller-wikia
Copy link
Contributor

mmeller-wikia commented Oct 24, 2022

Preflight checklist

Describe the bug

Recovery flow is inconsistent to password users and 2FA users.
Recovery flow is not redirecting user to settings page when 2FA is enabled

Reproducing the bug

  1. Configure AuthenticatorAssuranceLevel to use HighestAvailableAAL
  2. Add 2FA to your account
  3. Logout
  4. Request recovery link
  5. Click recovery link -> you are redirected to 2-step login page
  6. Complete login with 2FA
  7. You are redirected to default return url configured in Kratos (expected: redirect to settings flow and recovery message is displayed - like with only password protected accounts)

Relevant log output

Not relevant

Relevant configuration

selfservice:
  flows:
    settings:
      required_aal: highest_available

Version

v0.10.1, current master

On which operating system are you observing this issue?

Not relevant

In which environment are you deploying?

Not relevant

Additional Context

It is not possible to create suitable workaround on frontend (at least recovery message is lost).

@mmeller-wikia mmeller-wikia added the bug Something is not working. label Oct 24, 2022
@mmeller-wikia
Copy link
Contributor Author

WIP PR #2831

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant