Commit fa49d9c
Native auth: Update Email OTP MFA to Match EC Implementation, Fixes AB#3351233 (#2760)
This PR updates the SDK to match the latest flow from EC.
In this new flow, the developer must always supply an auth Method to the
/oauth2/v2.0/challenge endpoint which means once the .mfaRequired error
is received from token endpoint, the /oauth2/v2.0/introspect endpoint
needs to be called to retrieve the methods which are automatically
returned to the external developer.
Furthermore, whenever calling the /token endpoint is called with an MFA
Email OTP code, the grant type should be mfa_oob
Fixes
[AB#3351233](https://identitydivision.visualstudio.com/Engineering/_workitems/edit/3351233)
MSAL PR:
AzureAD/microsoft-authentication-library-for-android#2379
---------
Co-authored-by: Mustafa Mizrak <mustafamizrak@gmail.com>1 parent f3aac73 commit fa49d9c
File tree
23 files changed
+187
-565
lines changed- common4j/src
- main/com/microsoft/identity/common/java
- eststelemetry
- nativeauth
- commands/parameters
- controllers/results
- providers
- requests/signin
- responses/signin
- util
- testFixtures/java/com/microsoft/identity/common/nativeauth
- test/com/microsoft/identity/common/java/nativeauth/providers
- common/src
- main/java/com/microsoft/identity/common/nativeauth/internal
- commands
- controllers
- util
- test/java/com/microsoft/identity/common
- internal/providers/microsoft/nativeauth/integration
- nativeauth/internal
- controllers
- util
23 files changed
+187
-565
lines changedLines changed: 0 additions & 72 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments