Get an auth server client token

Get a token for given client and auth server.

get

Path Parameters

authServerIdstring(uuid)required

The auth server ID

Example:d32d905a-ed33-46a3-a093-d8f536af9a8a

clientIdstringrequiredread-only

The OAuth 2.0 client ID

Match pattern:[-_\w]+

>= 1 characters<= 36 characters

Example:kYa9iQFU5xPDSIUH9z1z

tokenIdstring(uuid)required

The token ID

Example:2cec70a4-d197-495c-8f3e-c0a1199d1da4

Response

application/json

A token

Token

idstring(uuid)required

The ID of the token

granted_scope_namesarray[string]required

The scopes that the token has been granted

created_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

expires_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of the expiration date

Example:2022-11-04T20:10:06.927Z

typestringrequired

The type of the token

Allowed values:access_tokenrefresh_token

get/auth-servers/{authServerId}/clients/{clientId}/tokens/{tokenId}
 
application/json

CreateSecretPayload

object
secretstring

The OAuth 2.0 client secret

Example:YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae

enabledboolean

Specifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.

Default:true

Example

UpdateSecretPayload

object
enabledboolean

Specifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.

Default:true

Example

ClientSecretList

object
dataarray[object]required

The client secret. The secret value is only returned when creating a new secret item.

Show Child Parameters
metaobjectrequired

returns the pagination information

Show Child Parameters
Example

ClientSecretItem

object

The client secret. The secret value is only returned when creating a new secret item.

idstring(uuid)required

The ID of the client secret

enabledbooleanrequired

Specifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.

Default:true

secretstring

The OAuth 2.0 client secret

Example:YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae

created_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

updated_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity update date.

Example:2022-11-04T20:10:06.927Z

Example