Path: / admin / realms / {realm} / oauth-clients / {clientId} / client-secret

Get the secret of the oauth client

Path parameters:
realm - realm name (not id!)
clientId - oauth client's clientId

Method Summary
ResourceDescription
POST /admin/realms/{realm}/oauth-clients/{clientId}/client-secretGenerate a new client secret for the oauth client
GET /admin/realms/{realm}/oauth-clients/{clientId}/client-secretGet the secret of the oauth client

Method Detail
HTTP Example:
POST /admin/realms/{realm}/oauth-clients/{clientId}/client-secret

Generate a new client secret for the oauth client

Output:
CredentialRepresentation -
Produces:
application/json
Consumes:
application/json
HTTP Example:
GET /admin/realms/{realm}/oauth-clients/{clientId}/client-secret

Get the secret of the oauth client

Output:
CredentialRepresentation -
Produces:
application/json