PrivateAppSecretRotationResult
A rotated client secret. The new secret is shown only once; the old one keeps working until previousSecretExpiresAt.
type PrivateAppSecretRotationResult {
clientId: String!
clientSecret: String!
previousSecretExpiresAt: DateTime
}
Fields
PrivateAppSecretRotationResult.clientId ● String! non-null scalar
The app's OAuth client id (unchanged).
PrivateAppSecretRotationResult.clientSecret ● String! non-null scalar
Shown only once. Store it in a secret manager.
PrivateAppSecretRotationResult.previousSecretExpiresAt ● DateTime scalar
When the old secret stops working. Empty when it was revoked at once.
Returned By
rotatePrivateAppSecret mutation