
KeithB.35916 (Customer) asked a question.
How do you use a refresh token to get a new access token?
Currently getting a 400 with the following response body:
{
"error": "unauthorized_client",
"error_description": "The client is not authorized to use the provided grant type. Configured grant types: [client_credentials]."
}

@KeithB.35916 (Customer) -- Based on the RFC a refresh token wouldn't be utilized with the grant type [client_credentails] that you are leveraging:
https://www.rfc-editor.org/rfc/rfc6749#section-4.4
4.4.3. Access Token Response
If the access token request is valid and authorized, the
authorization server issues an access token as described in
Section 5.1. A refresh token SHOULD NOT be included.
From my understanding with client_credentials is you request a new access token once the current one is expired using the same process you obtained the first one. Keep in mind client_credentials doesn't require a "user interaction to consent" like Authorization Code grant type. This is the whole reason you need a refresh token for this grant type since you don't want to have to manually consent every X period of time when 401 is returned.