Error: Grant type client_credentials not allowed for the client

I was able to get user idp tokens by using “Get a token manually” process here: Management API Access Tokens

However, when I attempt to follow “Automate the Process” via node.js request module from my terminal or app, Management API Access Tokens I get an error message as below: { error: ‘unauthorized_client’, error_description: ‘Grant type 'client_credentials' not allowed for the client.’, error_uri: ‘Application Grant Types’ }

What would be the best way to resolve this error…? Your support would be really appreciated.

2 Likes

In order to provide greater control over what flows are allowed for an application, some grant types are now disabled by default to allow application owners to opt-in should they wish to.

You can enable the grant types from the dashboard - instructions and more information available in the following doc:

3 Likes