feat: add custom token exchange support across all platforms#721
Merged
sanchitmehtagit merged 6 commits intomainfrom Jan 21, 2026
Merged
feat: add custom token exchange support across all platforms#721sanchitmehtagit merged 6 commits intomainfrom
sanchitmehtagit merged 6 commits intomainfrom
Conversation
sanchitmehtagit
commented
Jan 14, 2026
auth0_flutter/EXAMPLES.md
Outdated
|
|
||
| ### Custom Token Exchange | ||
|
|
||
| [Custom Token Exchange](https://auth0.com/docs/authenticate/custom-token-exchange) allows you to exchange tokens from external identity providers for Auth0 tokens. This is useful for migrating users from legacy systems or integrating with third-party identity providers. |
Contributor
Author
There was a problem hiding this comment.
review examples.md file again
6d490c5 to
c700cd7
Compare
pmathew92
reviewed
Jan 15, 2026
auth0_flutter/example/ios/Tests/AuthAPI/AuthAPICustomTokenExchangeMethodHandlerTests.swift
Outdated
Show resolved
Hide resolved
pmathew92
reviewed
Jan 15, 2026
pmathew92
reviewed
Jan 15, 2026
auth0_flutter/test/web/extensions/exchange_token_options_extension_test.dart
Outdated
Show resolved
Hide resolved
sanchitmehtagit
commented
Jan 16, 2026
eb58245 to
559fdc7
Compare
pmathew92
approved these changes
Jan 16, 2026
sanchitmehtagit
commented
Jan 21, 2026
Contributor
Author
sanchitmehtagit
left a comment
There was a problem hiding this comment.
Merging this tested on macos , ios, android and web platform
This was referenced Jan 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.
📋 Changes
Description
Implements Custom Token Exchange (RFC 8693) feature for Auth0 Flutter SDK, enabling users to exchange external identity provider tokens for Auth0 credentials.
Dependencies Updated
Auth0 Android: 3.11.0 → 3.12.0 (adds organization parameter to customTokenExchange - Dec 2025)
Auth0.swift: 2.14.0 → 2.16.2 (adds organization parameter to customTokenExchange - Dec 2025)
Core Implementation
CustomTokenExchangeApiRequestHandlerwith organization support (requires Auth0 Android SDK 3.12.0+)AuthAPICustomTokenExchangeMethodHandlerwith organization support (requires Auth0.swift 2.16.0+)exchangeToken()method with organizationId supportAuthCustomTokenExchangeOptionsandExchangeTokenOptionsclasses with organization parameterAPI Methods
// Mobile (Android/iOS)
// Web
📎 References
🎯 Testing