Skip to main content

Generate and return new client secret for auth client

POST 

/login/client/:id/clientSecret

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

    id uuidrequired

    The uuid string of an existing auth client to create the secret for

Responses

If creation succeeded, the created client secret including the censored version and the fingerprint.

Schema
    secretText stringrequired

    The generated client secret text. This is the data that must be given for request that require authentication

    censored stringrequired

    The 5 letter prefix of the original client secret text plus stars for identification of the secret by the user

    fingerprint stringrequired

    The fingerprint of the hash of the client secret. Used as identifier to delete the secret.

Loading...