Skip to content

Commit 85df784

Browse files
authored
Fixing auth.Management creation docs (#600)
* Fixing auth.Management creation docs * Update README.md
1 parent def9022 commit 85df784

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,14 @@ var auth0 = new auth0.Authentication({
150150

151151
## auth0.Management
152152

153-
Provides an API Client for the Auth0 Management API (only methods meant to be used from the client with the user token).
153+
Provides an API Client for the Auth0 Management API (only methods meant to be used from the client with the user token). You should use an access_token with the `https://YOUR_DOMAIN.auth0.com/api/v2/` audience to make this work. For more information, read [here](https://auth0.com/docs/libraries/lock/v11/migration-legacy-flows#user-profile-with-management-api).
154154

155155
### Initialize
156156

157157
```js
158158
var auth0 = new auth0.Management({
159159
domain: "{YOUR_AUTH0_DOMAIN}",
160-
token: "{YOUR_AUTH0_API_TOKEN}"
160+
token: "{ACCESS_TOKEN_FROM_THE_USER}"
161161
});
162162
```
163163

0 commit comments

Comments
 (0)