fix: MFA http contract parity fixes#2555
Merged
Merged
Conversation
…mfa_token in only headers; add support for factor_type; rename /auth/enroll to /auth/mfa/associate;
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2555 +/- ##
==========================================
- Coverage 90.20% 90.02% -0.18%
==========================================
Files 63 63
Lines 7606 7703 +97
Branches 1622 1647 +25
==========================================
+ Hits 6861 6935 +74
- Misses 733 756 +23
Partials 12 12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
@tusharpandey13 in the PR description we should highlight breaking changes for customers under a breaking change section. |
gyaneshgouraw-okta
previously approved these changes
Apr 17, 2026
…b.com/auth0/nextjs-auth0 into fix/mfa-http-contract-parity-breaking
nandan-bhat
reviewed
Apr 21, 2026
nandan-bhat
reviewed
Apr 21, 2026
…b.com/auth0/nextjs-auth0 into fix/mfa-http-contract-parity-breaking
Contributor
|
LGTM |
nandan-bhat
approved these changes
Apr 22, 2026
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.
Align MFA route handlers with Auth0 HTTP API contract.
Route handlers become transparent proxies: accept snake_case requests, return snake_case responses.
Camelization moves to SDK client boundary (
ClientMfaClient,ServerMfaClient).Changes
Wire Format
Authorization: Bearerheader only (query param removed)/auth/mfa/enroll→/auth/mfa/associate(matches Auth0)factorType: Added support forfactorTypeinstead of rawauthenticatorTypes/oobChannelsTests
888 pass, 0 fail (50 files)