Get the access token.

Use this API to get the OIDC tokens by using the client credentials. For API clients, the returned access tokens can be used to access the APIs that the API client has been granted access to.

Form Data
string
required

The grant type.

string
required
Defaults to openid

A space-delimited list of scopes that are associated with this token.

string

The authorization code. It is only required for "authorization_code" grant types.

string

The code verifier. This is used to verify the code challenge that was sent at the authorize endpoint. Required if the OIDC client is configured to require proof key for code exchange (PKCE)

string

The redirect URI. It is only required for "authorization_code" grant types.

string

The refresh token. It is only required for "refresh_token" grant types.

string

The client ID that is required when the basic authorization header is not set.

string

The client secret that is required when the basic authorization header is not set and the client is not a public client.

string

The JWT assertion being used to authenticate the client.

string

The format of client assertion.

Headers
string

The basic authorization header that contains a base64-encoded client ID and the client secret. Use this header as an alternative to sending the client ID and secret in the form parameters.

Responses

404

The resource was not found.

Language
URL
Choose an example:
application/json