OAuth Apps API
Use theoauth module in @wacht/backend for deployment-scoped OAuth app and client management.
Create OAuth app
Create OAuth client
Rotate client secret
Verify domain and manage scopes
Grants operations
Available methods
listOAuthApps(deploymentId)createOAuthApp(deploymentId, request)updateOAuthApp(deploymentId, oauthAppSlug, request)verifyOAuthAppDomain(deploymentId, oauthAppSlug)updateOAuthScope(deploymentId, oauthAppSlug, scope, request)archiveOAuthScope(deploymentId, oauthAppSlug, scope)unarchiveOAuthScope(deploymentId, oauthAppSlug, scope)setOAuthScopeMapping(deploymentId, oauthAppSlug, scope, request)listOAuthClients(deploymentId, oauthAppSlug)createOAuthClient(deploymentId, oauthAppSlug, request)updateOAuthClient(deploymentId, oauthAppSlug, oauthClientId, request)deactivateOAuthClient(deploymentId, oauthAppSlug, oauthClientId)rotateOAuthClientSecret(deploymentId, oauthAppSlug, oauthClientId)listOAuthGrants(deploymentId, oauthAppSlug, oauthClientId)revokeOAuthGrant(deploymentId, oauthAppSlug, oauthClientId, grantId)
