I’m using Postman to test an Okta API call before I translate it to code.
I’m calling https://XXX.okta.com/oauth2/v1/token and using a valid client_id and client_secret. I’m using a grant_type of client_credentials. (See Screen Shot)
I’m expecting to get back an access_token per the docs, but instead I get the following error:
“error_description”: “The client is not authorized to use the provided grant type. Configured grant types: [refresh_token, implicit, interaction_code, authorization_code].”
My Okta Administrator tells me that he has turned on all grant types but the call still fails.
My best guess is that something needs to be done on the admin side to enable “client_credentials” to work as a grant type for the /token API call. Can anyone provide specifics about where/how to do that? Thanks.