RotateOAuth2ClientSecret
Regenerates a confidential client's secret, invalidating the previous one, and returns the new value in clear in plainSecret — shown only once.
Signature
mutation {
RotateOAuth2ClientSecret(id: ...)
}
Retourne : OAuth2ClientSecret!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
id | ID! | ✓ | — | — |
Exemple
mutation {
RotateOAuth2ClientSecret(
id: $id
) {
client {}
plainSecret
}
}