feat: add mfa.stepUpWithPopup() for reactive MFA step-up via Universal Login#2524
Open
tusharpandey13 wants to merge 60 commits intomainfrom
Open
feat: add mfa.stepUpWithPopup() for reactive MFA step-up via Universal Login#2524tusharpandey13 wants to merge 60 commits intomainfrom
tusharpandey13 wants to merge 60 commits intomainfrom
Conversation
…into feat/mfa-apis
…n update logic to mfaVerify in auth-client, simplify impl
…into feat/mfa-apis
…into feat/mfa-apis
…nsformation logic; add types for api responses; add missing grant types
…cret in challenge call
… oobchannel, oobcode, bindingmethod and barcodeUri
This reverts commit b418b01.
…into feat/mfa-apis
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2524 +/- ##
==========================================
- Coverage 90.15% 90.08% -0.07%
==========================================
Files 51 55 +4
Lines 6439 6831 +392
Branches 1292 1383 +91
==========================================
+ Hits 5805 6154 +349
- Misses 623 666 +43
Partials 11 11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…llback timeout to 100ms
…nto feat/mfa-ul
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
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.
Adds client-side
mfa.stepUpWithPopup()that completes MFA step-up in a popup window using Auth0 Universal Login, without a full-page redirect.How it works: When
getAccessToken()throwsMfaRequiredError, the app callsmfa.stepUpWithPopup({ audience }). A popup opens, the user completes MFA, and the resulting token is cached in the session and returned to the caller.Changes
mfa.stepUpWithPopup()to client helpersreturnStrategy: postMessage | redirecttohandleLoginhandleCallback()getTokenSet,handleAccessTokento enable conditional scope mergingEXAMPLES.mdwith clear documentation.Usage