Skip to content

Commit f5a6a25

Browse files
sanchitmehtagitutkrishtsahu
authored andcommitted
docs: fix EXAMPLES.md typo, duplicate TOC, and stale My Account API gating note
- Fix package name typo: flutter_auth0 → auth0_flutter in Credentials Manager custom implementation section - Remove duplicate partial TOC block (lines 59–82 re-listed Web Auth section headings that were already in the full TOC above) - Clarify My Account API setup note: the gating requirement is MRRT (Multi-Resource Refresh Tokens), not the My Account API itself — the old note incorrectly implied the API feature itself needed to be enabled by support, which is no longer accurate
1 parent 6f79781 commit f5a6a25

1 file changed

Lines changed: 2 additions & 25 deletions

File tree

auth0_flutter/EXAMPLES.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -58,29 +58,6 @@
5858

5959
## 📱 Web Authentication
6060

61-
- [Log out](#log-out)
62-
- [Sign up](#sign-up)
63-
- [Adding an audience](#adding-an-audience)
64-
- [Adding scopes](#adding-scopes)
65-
- [Adding custom parameters](#adding-custom-parameters)
66-
- [ID token validation](#id-token-validation)
67-
- [Using `SFSafariViewController` (iOS only)](#using-sfsafariviewcontroller-ios-only)
68-
- [1. Configure a custom URL scheme](#1-configure-a-custom-url-scheme)
69-
- [2. Capture the callback URL](#2-capture-the-callback-url)
70-
- [Using Partial Custom Tabs (Android only)](#using-partial-custom-tabs-android-only)
71-
- [Errors](#errors)
72-
- [Android: Custom schemes](#android-custom-schemes)
73-
- [🪟 Windows Web Authentication](#-windows-web-authentication)
74-
- [Prerequisites](#prerequisites)
75-
- [1. Install vcpkg and native dependencies](#1-install-vcpkg-and-native-dependencies)
76-
- [2. Configure your app's CMakeLists.txt](#2-configure-your-apps-cmakeliststxt)
77-
- [3. Register the custom URL scheme (protocol handler)](#3-register-the-custom-url-scheme-protocol-handler)
78-
- [4. Update the runner (main.cpp)](#4-update-the-runner-maincpp)
79-
- [Login](#login)
80-
- [Logout](#logout)
81-
82-
---
83-
8461
### Log out
8562

8663
Logging the user out involves clearing the Universal Login session cookie and then deleting the user's credentials from your app.
@@ -767,7 +744,7 @@ if (userProfile != null) {
767744

768745
### Custom implementations
769746

770-
flutter_auth0 exposes a built-in, default Credentials Manager implementation through the `credentialsManager` property. You can pass your own implementation to the `Auth0` constructor. If you're using Web Auth, this implementation will be used to store the user's credentials after login and delete them after logout.
747+
auth0_flutter exposes a built-in, default Credentials Manager implementation through the `credentialsManager` property. You can pass your own implementation to the `Auth0` constructor. If you're using Web Auth, this implementation will be used to store the user's credentials after login and delete them after logout.
771748

772749
```dart
773750
final customCredentialsManager = CustomCredentialsManager();
@@ -1472,7 +1449,7 @@ try {
14721449

14731450
The My Account API lets authenticated users manage their own multi-factor authentication (MFA) methods — enrolling, confirming, listing, updating, and deleting factors such as phone, email, TOTP, push notifications, and recovery codes. It is available on **mobile (Android/iOS) only**.
14741451

1475-
> 💡 The My Account API must be enabled for your tenant. If it is not yet available on your account, reach out to Auth0 support to get it enabled.
1452+
> 💡 The My Account API requires [Multi-Resource Refresh Tokens (MRRT)](https://auth0.com/docs/secure/tokens/refresh-tokens/multi-resource-refresh-token) to be enabled for your tenant. Contact Auth0 support if MRRT is not yet available on your account.
14761453
14771454
### Obtaining an access token for the My Account API
14781455

0 commit comments

Comments
 (0)