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.
| Route | What it does |
|---|---|
GET /v1/orgs/:orgId/projects/:projectId/oauth-clients | The project's sign-in clients (never their secrets), with the issuer and its discovery URL. |
POST /v1/orgs/:orgId/projects/:projectId/oauth-clients | Registers a client; the secret is in this response only. |
PATCH /v1/orgs/:orgId/projects/:projectId/oauth-clients/:clientId | Renames a sign-in client or replaces its redirect URIs. |
POST /v1/orgs/:orgId/projects/:projectId/oauth-clients/:clientId/secret | Replaces 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/:clientId | Deletes the client: sign-ins and refreshes with it stop at once. |