Commit 8c01b1d
Fix msal test app after merging with the fadi/release/5.4.0 (#2118)
Fix update according to the following team feedback:
**Batch2**
- [hero scenario 6, use case 2.2.1] Use email and OTP to get token and
sign in
getParcelable(Constants.STATE)
- [use case 2.2.6] Ability to provide scope to control auth strength of
the token
Update the scope of profile to User.Read
Update the test app EmailSignInSignUp page: signIn(scopes = User.Read)
- [use case 1.2.2] User is not registered with given email
Update test app EmailPasswordSignInSignUp page:
displayDialog("Unexpected result", actionResult.errorMessage) in sign in
function
- [use case 1.2.6] Ability to provide scope to control auth strength of
the token
Update the test app EmailPasswordSignInSignUp page: signIn(scopes =
User.Read)
Update test app EmailPasswordSignInSignUp page:
displayDialog("Unexpected result", actionResult.errorMessage) in sign in
function
- [hero scenario 2, use case 2.1.2] Signup user with custom attributes
with verify OTP as last step
Update the test app SignUpCode page: currentState =
(bundle?.getParcelable(Constants.STATE) as? SignUpCodeRequiredState)!!
- [hero scenario 2, use case 2.1.2] Signup user with custom attributes
with verify OTP as last step
Update the test app SignUpCode page: currentState =
(bundle?.getParcelable(Constants.STATE) as? SignUpCodeRequiredState)!!
- [hero scenario 2, use case 2.1.2] Signup user with custom attributes
with verify OTP as last step
- [hero scenario 3, use case 2.1.3] Verify email OTP first and then
collect custom attributes
Update the test app SignUpAttributes page: currentState =
(bundle?.getParcelable(Constants.STATE) as?
SignUpAttributesRequiredState)!!
SignUpAttributesUI disorder
- [use case 1.1.4] Verify email address using email OTP and then set
password
In SignUpCodeFragment modify to currentState =
(bundle?.getParcelable(Constants.STATE) as? SignUpCodeRequiredState)!!
In SignUpPasswordFragment modify to currentState =
(bundle?.getParcelable(Constants.STATE) as?
SignUpPasswordRequiredState)!!
**Batch1**
- [use case 1.2.2] User is not registered with given email
No error is popped up in UI (Probably this is a bug of the test app)
- [use case 2.2.5] Resend email OTP
App crashing
- [use case 1.2.3] Password is incorrect
No error is popped up in UI (Probably this is a bug of the test app)
- [hero scenario 3, use case 2.1.3] Verify email OTP first and then
collect custom attributes
When submitting attributes (had to hard-code some), the test application
doesn't return to the sign in / sign up screen
- Authenticate user (get token) through web browser, retrieve tokens
through native auth SDK interface (by setting forceRefresh=true):
EmailSignInSignUpFragment does not have logic for handling redirects
- [hero scenario 6, use case 2.2.1] Use email and OTP to get token and
sign in
---------
Co-authored-by: fadidurah <[email protected]>
Co-authored-by: Harold Karibiye <[email protected]>1 parent 2c25566 commit 8c01b1d
File tree
8 files changed
+85
-24
lines changed- testapps/testapp/src/main
- java/com/microsoft/identity/client/testapp/nativeauth
- res/layout
8 files changed
+85
-24
lines changedLines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
116 | 119 | | |
117 | | - | |
| 120 | + | |
118 | 121 | | |
119 | 122 | | |
120 | 123 | | |
| |||
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
139 | | - | |
| 142 | + | |
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
150 | 154 | | |
151 | 155 | | |
152 | 156 | | |
| |||
271 | 275 | | |
272 | 276 | | |
273 | 277 | | |
| 278 | + | |
274 | 279 | | |
275 | 280 | | |
276 | 281 | | |
| |||
326 | 331 | | |
327 | 332 | | |
328 | 333 | | |
| 334 | + | |
329 | 335 | | |
330 | 336 | | |
331 | 337 | | |
| |||
Lines changed: 59 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
115 | | - | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
127 | 149 | | |
128 | 150 | | |
129 | 151 | | |
| |||
163 | 185 | | |
164 | 186 | | |
165 | 187 | | |
166 | | - | |
| 188 | + | |
167 | 189 | | |
168 | 190 | | |
169 | 191 | | |
| |||
306 | 328 | | |
307 | 329 | | |
308 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
309 | 365 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 83 | + | |
| 84 | + | |
88 | 85 | | |
89 | 86 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 87 | + | |
| 88 | + | |
95 | 89 | | |
96 | 90 | | |
97 | 91 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments