Record - oauth2 : ClientCredentialsGrantConfig

The `ClientCredentialsGrantConfig` record can be used to configue OAuth2 client credentials grant type.

Fields

  • tokenUrl string
  • Token URL for the authorization endpoint

  • clientId string
  • Client ID for the client credentials grant authentication

  • clientSecret string
  • Client secret for the client credentials grant authentication

  • scopes string
  • Scope of the access request

  • clockSkewInSeconds int 0
  • Clock skew in seconds

  • retryRequest boolean true
  • Retry the request if the initial request returns a 401 response

  • credentialBearer CredentialBearer http:AUTH_HEADER_BEARER
  • How authentication credentials are sent to the authorization endpoint

  • clientConfig ClientConfiguration {}
  • HTTP client configurations which calls the authorization endpoint