
User16358793053626508022 (Customer) asked a question.
I am using the Client Credential Flow RESTful call to generate a token, but am not getting any response and no error. I'm sure there is something wrong with my configuration and/or request but I am at a loss how to troubleshoot. I see nothing in the logs. Any suggestions how to figure out what is wrong with my call?
Example:
curl --request POST \
--url https://$OKTA_DOMAIN/oauth2/$AUTH_SERVER/v1/token \
--header 'accept: application/json' \
--header 'authorization: Basic $TOKEN' \
--header 'cache-control: no-cache' \
--header 'content-type: application/x-www-form-urlencoded' \
--data 'grant_type=client_credentials&scope=$SCOPE'

Hi @User16358793053626508022 (Customer),
Thank you for posting on the Okta community page!
I have done some research and I managed to find the bellow documentation that explains how to implement a Client Credentials flow for your app with Okta:
I hope the above information is useful!