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

Showing information about the number of recovery codes during login flow #3890

Open
5 tasks done
abador opened this issue Apr 22, 2024 · 0 comments
Open
5 tasks done
Labels
feat New feature or request.

Comments

@abador
Copy link
Contributor

abador commented Apr 22, 2024

Preflight checklist

Ory Network Project

No response

Describe your problem

When a user signs in using 2FA we can use the recovery code login. While using this method a recovery code is being removed. A user doesn't see any information how many recovery codes are left for this account during login.

Describe your ideal solution

We would like to be able to fetch the number of recovery codes left for a single account(fetching an identity from the API could return the information about the number of recovery codes left) or when fetching 2FA flows we might have this information in the flow object

Workarounds or alternatives

We could fetch a settings flow and emulate the user's actions to view all the codes left and count them.

Version

1.10.0 with some tweaks

Additional Context

No response

@abador abador added the feat New feature or request. label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant