You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: auth0_flutter/EXAMPLES.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -703,7 +703,10 @@ final didStore =
703
703
704
704
### Custom Token Exchange
705
705
706
-
[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.
706
+
[Custom Token Exchange](https://auth0.com/docs/authenticate/custom-token-exchange) allows you to enable applications to exchange their existing tokens for Auth0 tokens when calling the /oauth/token endpoint. This is useful for advanced integration use cases, such as:
707
+
- Get Auth0 tokens for another audience
708
+
- Integrate an external identity provider
709
+
- Migrate to Auth0
707
710
708
711
> **Note:** This feature is currently available in [Early Access](https://auth0.com/docs/troubleshoot/product-lifecycle/product-release-stages#early-access). Please reach out to Auth0 support to enable it for your tenant.
709
712
@@ -739,11 +742,6 @@ final credentials = await auth0Web.customTokenExchange(
739
742
740
743
</details>
741
744
742
-
**Required setup:**
743
-
1. Configure a Custom Token Exchange profile in your Auth0 Dashboard
744
-
2. Implement validation logic in an Auth0 Action to verify the external token
745
-
3. Grant your Auth0 application the `urn:auth0:oauth2:grant-type:token-exchange` permission
746
-
747
745
> 💡 For more information, see the [Custom Token Exchange documentation](https://auth0.com/docs/authenticate/custom-token-exchange) and [RFC 8693](https://tools.ietf.org/html/rfc8693).
0 commit comments