Generate and return new client secret for auth client
POST/auth/api/login/client/:id/client-secret
Generates a new client secret for the specified auth client.
NOTE: The returned value includes the secret text that is the actual secret. It can NOT be retrieved later on. The censored version and fingerprint will be returned too for reference.
Request
Path Parameters
The uuid string of an existing auth client to create the secret for
Responses
- 201
- 404
If creation succeeded, the created client secret including the censored version and the fingerprint.
- application/json
- Schema
- Example (from schema)
Schema
The generated client secret text. This is the data that must be given for request that require authentication
The 5 letter prefix of the original client secret text plus stars for identification of the secret by the user
The fingerprint of the hash of the client secret. Used as identifier to delete the secret.
{
"secretText": "a01b23c45d67e89f",
"censored": "1a2b3**********",
"fingerprint": "0123456789abcdef"
}
If no id was given or no auth client with the given id was found