Skip to content

[PM-3382] User cannot select Email as a secondary 2FA option following SSO#2719

Merged
andrebispo5 merged 7 commits intomasterfrom
auth/pm-3382/2fa-email
Sep 6, 2023
Merged

[PM-3382] User cannot select Email as a secondary 2FA option following SSO#2719
andrebispo5 merged 7 commits intomasterfrom
auth/pm-3382/2fa-email

Conversation

@andrebispo5
Copy link
Contributor

@andrebispo5 andrebispo5 commented Aug 24, 2023

Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

Fix send 2FA code email on mobile client by updating it to receive and use new identity property SsoEmail2faSessionToken.

Code changes

Get new field from identity response and use it in the request for 2FA code email.

Notes for Reviewers

This should match the functionality of the clients PR here: bitwarden/clients#5280

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team

@bitwarden-bot
Copy link

bitwarden-bot commented Aug 24, 2023

Logo
Checkmarx One – Scan Summary & Details80ecc19f-945d-47f8-9d55-d6b9d2857dd5

No New Or Fixed Issues Found

Copy link

@JaredSnider-Bitwarden JaredSnider-Bitwarden left a comment

Choose a reason for hiding this comment

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

This looks good to me, and it seems to match the work done in bitwarden/clients#5280.

Copy link

@JaredSnider-Bitwarden JaredSnider-Bitwarden left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

@JaredSnider-Bitwarden JaredSnider-Bitwarden left a comment

Choose a reason for hiding this comment

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

LGTM!

@andrebispo5 andrebispo5 merged commit f21fae7 into master Sep 6, 2023
@andrebispo5 andrebispo5 deleted the auth/pm-3382/2fa-email branch September 6, 2023 09:26
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.

3 participants