v51

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-058638763.1 MB
Auth Server Clients

Create a new client secret

Create a new client secret for a given client. Multiple secrets can be active simultaneously for a single client.

post/v1/auth-servers/{authServerId}/clients/{clientId}/secrets

Request body

secretstring

The OAuth 2.0 client secret

enabledboolean

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

Example request

{
  "secret": "YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae"
}

Response

A Client Secret item

idstring uuid required

The ID of the client secret

enabledboolean required

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

secretstring

The OAuth 2.0 client secret

created_atstring date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_atstring date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "secret": "YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}