When I call /users/{userid}
with PATCH
and pass this data :
{
"email": NEW_EMAIL,
"connection":"Username-Password-Authentication",
"client_id": CLIENT_ID
}
it returns me :
{
"statusCode": 403,
"error": "Forbidden",
"message": "You cannot update the following fields: email, connection, client_id",
"errorCode": "insufficient_scope"
}
I checked all the scopes under “Auth0 Management API” → “Scopes”
Can anybody help me on this ?
You need to ensure you have obtained a valid access_token for the Management API, with the correct scopes requested. Take a look at the following document which explains this in further detail:
nguyen
January 4, 2018, 4:40pm
3
I am facing with this issue too. I think I got a valid token which was returned by my android log cat. Have no idea.
nguyen
January 4, 2018, 4:40pm
4
I am facing with this issue too. I think I got a valid token which was returned by my android log cat. Have no idea.