I am trying to get OAuth Token for the application , which is required for updating user profile.
I am hitting this endpoint
domain/oauth/token
Curl
curl --location --request POST ‘domain/oauth/token’ \
–header ‘content-type: application/x-www-form-urlencoded’ \
–data-urlencode ‘grant_type=update:users’ \
–data-urlencode ‘client_id=’ \
–data-urlencode ‘client_secret=’ \
–data-urlencode ‘audience=domain/api/v2/’
I always get the grant type not allowed for the client.
{
“error”: “unauthorized_client”,
“error_description”: “Grant type ‘update:users’ not allowed for the client.”,
“error_uri”: “Application Grant Types”
}
In Dashboard Settings I have enabled all the grant types for particular client.
Please help me to resolve this. Not sure what I am missing