-
Notifications
You must be signed in to change notification settings - Fork 137
Native auth: SMS OTP MFA/JIT implementation, Fixes AB#3313635 #2382
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
Merged
Merged
Changes from 18 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d35cc17
update public interface with new MFA flow. Auth method is always need…
nilo-ms e2d8032
adjust logs and removing selection required as possible results
nilo-ms cbde5db
fix unit tests
nilo-ms 220ce0a
fix tests on client applications
nilo-ms 3ee685b
update common
nilo-ms 7f76fba
update with latest common
nilo-ms e8a6276
add mfa and jit results after submitting code and continuation token
nilo-ms 2f9d668
update comment for SMS
nilo-ms a836695
check verification is not empty when sms is used
nilo-ms 9d38e79
add new custom error for verification contact blocked
nilo-ms 424f24d
make login hint optional, use username instead of loginHint
nilo-ms 1f9b11a
Native auth: Update Email OTP MFA to Match EC Implementation, Fixes A…
nilo-ms e858ccc
update common
nilo-ms 39e5d7a
Merge branch 'dev' into feature/email-otp-mfa
nilo-ms 04f9051
Merge branch 'feature/email-otp-mfa' into danilo/sms-mfa
nilo-ms 2cd25ad
resolve conflict
nilo-ms c94b35a
Merge branch 'dev' into danilo/sms-mfa
nilo-ms 1149023
update changelog and common
nilo-ms 473efab
make verification contact mandatory
nilo-ms a9a7ce4
point to common dev
nilo-ms File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Submodule common
updated
14 files
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,8 +26,6 @@ import android.os.Parcel | |
| import android.os.Parcelable | ||
| import com.microsoft.identity.common.java.nativeauth.providers.responses.signin.AuthenticationMethodApiResult | ||
| import com.microsoft.identity.common.java.nativeauth.util.ILoggable | ||
| import com.microsoft.identity.nativeauth.statemachine.states.AwaitingMFAState | ||
| import com.microsoft.identity.nativeauth.utils.serializable | ||
|
|
||
| /** | ||
| * AuthMethod represents a user's authentication methods. | ||
|
|
@@ -40,9 +38,9 @@ data class AuthMethod( | |
| val challengeType: String, | ||
|
|
||
| // Auth method login hint (e.g. [email protected]) | ||
| val loginHint: String, | ||
| val loginHint: String?, | ||
|
|
||
| // Auth method challenge channel (email, etc.) | ||
| // Auth method challenge channel (email, sms, etc.) | ||
| val challengeChannel: String, | ||
| ) : ILoggable, Parcelable { | ||
| override fun toUnsanitizedString(): String = "AuthMethod(id=$id, " + | ||
|
|
||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.