Open
Description
Forgive me if this is a stupid question, how exactly can I handle recovery codes for users?
In README, you said "These can simply be randomly generated strings that you store in your backend" but I could not find the code that do this.
Does that mean I need to handle recovery codes myself? I was thinking along the lines of
- Generate recovery codes in backend
- Give users recovery codes
- Compare passcode with recovery codes (pulled from backend storage). If not matched, then compare passcode with TOTP / HOTP as usual? If matched, remove recovery codes (one time use like Github)
Let me know if you have plan to support this behavior natively in this package, or if you are interested in a Pull Request that does this (backend storage via an interface, of course)?
Metadata
Metadata
Assignees
Labels
No labels