API

Sign-in clients

Register OpenID Connect clients that let people sign in to a Serverless App Service's app.

Client secrets are returned once, when a client is created or its secret is replaced. See Sign in with for the flow your app runs.

Every route below, with its parameters, request and response, errors and samples, is in the API reference.

RouteWhat it does
GET /v1/orgs/:orgId/projects/:projectId/oauth-clientsThe project's sign-in clients (never their secrets), with the issuer and its discovery URL.
POST /v1/orgs/:orgId/projects/:projectId/oauth-clientsRegisters a client; the secret is in this response only.
PATCH /v1/orgs/:orgId/projects/:projectId/oauth-clients/:clientIdRenames a sign-in client or replaces its redirect URIs.
POST /v1/orgs/:orgId/projects/:projectId/oauth-clients/:clientId/secretReplaces the secret (the old one stops working at once); the new one is in this response only.
DELETE /v1/orgs/:orgId/projects/:projectId/oauth-clients/:clientIdDeletes the client: sign-ins and refreshes with it stop at once.