Commit 42db720
feat(auth): add support for Email MFA (#13945)
* [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 <[email protected]>
* Fix Errant Pascal Casing
---------
Co-authored-by: israx <[email protected]>
* 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 <[email protected]>1 parent caf00e2 commit 42db720
File tree
17 files changed
+1021
-238
lines changed- .github
- integ-config
- workflows
- packages
- auth
- __tests__/providers/cognito
- testUtils
- src
- common
- foundation/factories/serviceClients/cognitoIdentityProvider/types
- providers/cognito
- apis
- types
- utils
- types
- aws-amplify
17 files changed
+1021
-238
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| |||
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
98 | | - | |
| 102 | + | |
| 103 | + | |
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
| |||
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
| 123 | + | |
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
| |||
126 | 132 | | |
127 | 133 | | |
128 | 134 | | |
129 | | - | |
| 135 | + | |
| 136 | + | |
130 | 137 | | |
131 | 138 | | |
132 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
91 | 111 | | |
0 commit comments