-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Email MFA] Add support for EMAIL_OTP during sign in flows #13745
Merged
jjarvisp
merged 4 commits into
aws-amplify:feat/email-mfa
from
jjarvisp:feat/email-mfa-sign-in
Aug 27, 2024
Merged
[Email MFA] Add support for EMAIL_OTP during sign in flows #13745
jjarvisp
merged 4 commits into
aws-amplify:feat/email-mfa
from
jjarvisp:feat/email-mfa-sign-in
Aug 27, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jjarvisp
force-pushed
the
feat/email-mfa-sign-in
branch
from
August 22, 2024 20:30
8aa39e8
to
1a7403f
Compare
israx
reviewed
Aug 23, 2024
israx
approved these changes
Aug 23, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for adding the handleMFAChallenge
method, it does reduce the code volume.
Co-authored-by: israx <70438514+israx@users.noreply.github.com>
jjarvisp
requested review from
ukhan-amazon,
haverchuck,
cshfang,
jimblanc and
HuiSF
as code owners
August 23, 2024 15:37
AllanZhengYP
approved these changes
Aug 26, 2024
ashika112
reviewed
Aug 26, 2024
ashika112
reviewed
Aug 26, 2024
jjarvisp
force-pushed
the
feat/email-mfa-sign-in
branch
from
August 26, 2024 20:22
476c6d0
to
f5a65a5
Compare
ashika112
approved these changes
Aug 26, 2024
jjarvisp
added a commit
that referenced
this pull request
Sep 6, 2024
* Confirm Sign In With Email OTP * Confirm Sign In Tests With Email OTP * Update packages/auth/src/types/models.ts Co-authored-by: israx <70438514+israx@users.noreply.github.com> * Fix Errant Pascal Casing --------- Co-authored-by: israx <70438514+israx@users.noreply.github.com>
jjarvisp
added a commit
that referenced
this pull request
Oct 31, 2024
* [Email MFA] Updating fetchMFAPreference and updateMFAPreference (#13720) * add EMAIL MFA option in fetchMFAPreference * add EMAIL MFA option in updateMFAPreference * update fetchMFAPreference tests * update updateMFAPreference tests * update bundle size * remove redundant assertions * [Email MFA] Add support for EMAIL_OTP during sign in flows (#13745) * Confirm Sign In With Email OTP * Confirm Sign In Tests With Email OTP * Update packages/auth/src/types/models.ts Co-authored-by: israx <70438514+israx@users.noreply.github.com> * Fix Errant Pascal Casing --------- Co-authored-by: israx <70438514+israx@users.noreply.github.com> * feat(auth): [EMAIL MFA] Sign In / Confirm Sign In With MFA_SETUP (#13760) * Sign In / Confirm Sign In With MFA_SETUP * Sign In State Management Tests * Confirm Sign In Happy Path Tests * Fix State Management Tests * Apply Feedback * loose email matching * Remove Unnecessary Export * Update SignInHelpers For Getting Allowed MFA Setup Types * Add Error Case Unit Tests * feat(auth): [EMAIL MFA] enable integ tests with backend configuration swapping (#13794) * chore: enable mfa integ tests * chore: add mfa-setup test def * chore: temporarily enable push integ tests * chore: disable push integ tests * chore: address test strategy feedback * chore: use trimmed challenge response * chore: improved naming * chore: update bundle size tests * chore: remove trimmed challenge response --------- Co-authored-by: israx <70438514+israx@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
The purpose of this pull request is to add support for the
CONFIRM_SIGN_IN_WITH_EMAIL_CODE
challenge and selectingEMAIL
as the delivery destination during theCONTINUE_SIGN_IN_WITH_MFA_SELECTION
challenge.MFA_SETUP challenge will be handled separately.
Issue #, if available
Description of how you validated changes
Checklist
yarn test
passesChecklist for repo maintainers
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.