I’m trying to test the token flow of sample app by integrating the app in Okta and testing it in OpenID connect Playground using client credentials. After adding all the configuration in OpenID connect playground debugger and clicking on Start - the page redirects me to login post login when I click on the workflow to Start - it will give me a code and when I click on Exchange I am repeatedly getting “The exchange could not be performed.”
I don’t know what I’m missing. Can anyone help me on this?
Both of those tools seem designed to complete OpenID Connect flows like Implicit flow and Authorization Code flow which both involve making an /authorize call in the browser to log in a user. For Client Credentials flow, which is an OAuth flow, only a single request to the /token endpoint is required instead (its a Machine-to-Machine flow, so no user auth is involved).
Have you tried completing the flow using curl or Postman per our documentation here?