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

Support Backup Codes for Multi-Factor Authentication #937

Closed
amberrignell opened this issue Jul 12, 2023 · 4 comments · Fixed by #947
Closed

Support Backup Codes for Multi-Factor Authentication #937

amberrignell opened this issue Jul 12, 2023 · 4 comments · Fixed by #947
Assignees

Comments

@amberrignell
Copy link
Contributor

amberrignell commented Jul 12, 2023

User story

As a user, I want to have the option to use backup codes for multi-factor authentication (MFA) so that I can securely access my account even when my primary authentication factors are unavailable.

User acceptance criteria

  • Users should be able to generate and access backup codes during the initial setup process.
  • Users should be able to enter backup codes as a valid authentication factor during the login process.
  • Backup codes should be unique for each user and should not be reused.
  • Backup codes should be one-time use and become invalid once used for authentication.
  • Backup codes should be encrypted and stored securely to prevent unauthorized access.
@amberrignell amberrignell changed the title Add MFA back up codes Support Backup Codes for Multi-Factor Authentication Jul 12, 2023
@midigofrank midigofrank self-assigned this Jul 20, 2023
@taylordowns2000
Copy link
Member

hey @midigofrank , i'd love EOD updates on this one given how tricky it got before. can you push & comment when you wrap up each day please?

super curious to see how you implement the feedback from @stuartc around adding the sudo token to the session itself.

@midigofrank
Copy link
Collaborator

Hey @taylordowns2000 , got it. We will send the updates before EOD

@sigu
Copy link
Collaborator

sigu commented Aug 2, 2023

Update

  • Removed the cookies and used session to keep track of the sudo mode

Next

  • Write tests
  • maybe rename two_factor_session to sudo_mode_session

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

Successfully merging a pull request may close this issue.

4 participants