Mutations

oauthClientSecretCreate

Deprecated: EXPERIMENTAL: This feature can change at any time and is not meant to be used in any production environment.

Create a secret for a confidential app, which can have at most two active secrets. Fails with BAD_USER_INPUT for a malformed id, NOT_FOUND for an app the viewer can't see, UNAUTHENTICATED when the viewer can't change it, PUBLIC_CLIENT for a public app, and TOO_MANY_SECRETS when two are active. Fails with FORBIDDEN unless enabled for the viewer.

Arguments

input OAuthClientSecretCreateInput!

The app to create a secret for.

Type

OAuthClientSecretCreatePayload