Skip to main content
Version: v0.17.0

ClientDto

idnumber
Example: 1
namestringrequired
Example: Example Client
secretNamestringrequired
Example: SecretExample
descriptionstringrequired
Example: A sample client used for demonstration purposes.
clientIdstringrequired
Example: client-id-123
clientSecretstring

Client secret for symmetric authentication. Required when tokenEndpointAuthMethod is client_secret_post.

Example: client-secret-abc
tokenEndpointAuthMethodstring

Authentication method used at the token endpoint. Defaults to client_secret_post.

Possible values: [client_secret_post, private_key_jwt, none]

Example: client_secret_post
jwkobject

Public key in JWK format for asymmetric authentication. Required when tokenEndpointAuthMethod is private_key_jwt.

Example: {"kty":"RSA","n":"0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMstn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbISD08qNLyrdkt-bFTWhAI4vMQFh6WeZu0fM4lFd2NcRwr3XPksINHaQ-G_xBniIqbw0Ls1jF44-csFCur-kEgU8awapJzKnqDKgw","e":"AQAB","kid":"client-key-1"}
rolesstring[]required
Example: ["admin","user"]
grantsstring[]required
Example: ["authorization_code","client_credentials"]
redirectUrisstring[]required
Example: ["https://example.com/callback"]
ClientDto
{
"id": 1,
"name": "Example Client",
"secretName": "SecretExample",
"description": "A sample client used for demonstration purposes.",
"clientId": "client-id-123",
"clientSecret": "client-secret-abc",
"tokenEndpointAuthMethod": "client_secret_post",
"jwk": {
"kty": "RSA",
"n": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMstn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbISD08qNLyrdkt-bFTWhAI4vMQFh6WeZu0fM4lFd2NcRwr3XPksINHaQ-G_xBniIqbw0Ls1jF44-csFCur-kEgU8awapJzKnqDKgw",
"e": "AQAB",
"kid": "client-key-1"
},
"roles": [
"admin",
"user"
],
"grants": [
"authorization_code",
"client_credentials"
],
"redirectUris": [
"https://example.com/callback"
]
}