Skip to content

LG-9951: Add confirmation prompt when user selects backup code as sole MFA#8597

Merged
jmdembe merged 55 commits intomainfrom
LG-9951-backup-codes-warning
Jul 3, 2023
Merged

LG-9951: Add confirmation prompt when user selects backup code as sole MFA#8597
jmdembe merged 55 commits intomainfrom
LG-9951-backup-codes-warning

Conversation

@jmdembe
Copy link
Contributor

@jmdembe jmdembe commented Jun 14, 2023

🎫 Ticket

LG-9951: Add confirmation prompt when user selects backup code as sole MFA

🛠 Summary of changes

This PR asks users to confirm that they have saved their backup codes before completing the signup process

📜 Testing Plan

On localhost:3000

  • Follow the steps to create a new account
  • Select backup codes as your setup method option
  • Continue to receive backup codes
  • Follow steps to set up backup codes
  • On the "You’ve added your first authentication method!" screen, click "Skip for now"
  • See the new confirmation page

👀 Screenshots

image

@jmdembe jmdembe force-pushed the LG-9951-backup-codes-warning branch from a43ee62 to 2b1c5ee Compare June 21, 2023 18:24
@jmdembe jmdembe force-pushed the LG-9951-backup-codes-warning branch from 2b1c5ee to 95eca8c Compare June 21, 2023 18:41
@jmdembe jmdembe force-pushed the LG-9951-backup-codes-warning branch from f70a813 to 7079f51 Compare June 22, 2023 13:31
expect(page).to have_current_path(confirm_backup_codes_path)
click_link t('two_factor_authentication.backup_codes.saved_backup_codes')

click_agree_and_continue
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if the click_agree_and_continue was meaningful in testing anything previously, but we lost it in the revisions here. Should it be added back?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on what I understood, it did not seem to be meaningful. If I am missing something, I would be more than happy to include it back in

Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 👍 Couple comments, but should either be quick or non-blocking.

jmdembe and others added 4 commits June 30, 2023 14:10
@jmdembe jmdembe merged commit 2e9a3de into main Jul 3, 2023
@jmdembe jmdembe deleted the LG-9951-backup-codes-warning branch July 3, 2023 13:00
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 this pull request may close these issues.

2 participants