List identity providers configured for the workspace
const url = 'https://example.com/v1/auth/providers';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/auth/providers \ --header 'Authorization: Bearer <token>'Returns the workspace’s identity providers (OIDC, SAML), each with signIn when the deployment sets it. Secrets appear only as REFERENCES (clientSecretRef, spSigningKeyRef…); a plaintext secret is never on the wire.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Page of provider configs.
object
An OpenID Connect identity provider people sign in with. The endpoints come from the issuer’s discovery document when absent, and are returned once the deployment has them.
object
The name a sign-in page shows (“Sign in with …”). Default: providerId.
The email domains whose people sign in with this provider (lowercase, e.g. acme.com): how an email-first sign-in page finds it.
Who may sign in the first time: invite (default) lets in only people a tenant admin added. domain also lets in anyone this provider says has a verified email at one of domains, when the deployment routes that domain to this tenant: they become a person holding joinRole. Someone removed from the tenant stays out. It needs the deployment’s authorization store: without one, setting it answers 409 domain-join-needs-authorization.
What someone who joins by domain gets: viewer (default) or runner (who also runs its agents and flows) on the tenant’s default project, or none, a tenant member with no project. Never tenant admin. Setting it needs join: domain; it’s kept while join is invite.
object
Opaque reference resolved server-side. Never a plaintext secret. Sign-in’s only: a tool, an endpoint, a webhook trigger, a destination, a connection app, a model provider or a pack’s env that names it is refused (400 identity-provider-key-refused), and a secret a tool, an endpoint, a webhook trigger, a destination or a connection app already uses is refused here (409 identity-provider-key-in-use). If one app registration serves both sign-in and a connection, give each a client secret of its own.
Default openid email profile.
Per-provider claim mapping. All fields optional; closer to OIDC defaults (sub/email/name) → fewer overrides needed.
object
Claim path + optional delimiter for extracting Kindgi OAuth scopes from provider claims. When absent, scopes come from the token response scope field instead.
object
A SAML 2.0 identity provider people sign in with: its metadata XML, or its entity ID, single sign-on URL and signing certificates. Keys are given as references, never as keys.
object
The name a sign-in page shows (“Sign in with …”). Default: providerId.
The email domains whose people sign in with this provider (lowercase, e.g. acme.com): how an email-first sign-in page finds it.
Who may sign in the first time: invite (default) lets in only people a tenant admin added. domain also lets in anyone this provider says has a verified email at one of domains, when the deployment routes that domain to this tenant: they become a person holding joinRole. Someone removed from the tenant stays out. It needs the deployment’s authorization store: without one, setting it answers 409 domain-join-needs-authorization.
What someone who joins by domain gets: viewer (default) or runner (who also runs its agents and flows) on the tenant’s default project, or none, a tenant member with no project. Never tenant admin. Setting it needs join: domain; it’s kept while join is invite.
object
The IdP’s single sign-on URL (HTTP-Redirect binding).
The IdP’s signing certificates (PEM); several during a rollover.
Opaque reference to the service provider’s signing key, for IdPs that require signed AuthnRequests. Never a plaintext key. Sign-in’s only: anything else that names it is refused (400 identity-provider-key-refused), and a secret something else already uses is refused here (409 identity-provider-key-in-use).
Opaque reference to the key that decrypts encrypted assertions. Never a plaintext key. Sign-in’s only: anything else that names it is refused (400 identity-provider-key-refused), and a secret something else already uses is refused here (409 identity-provider-key-in-use).
The certificates (PEM) of spSigningKeyRef’s key, published in the service provider’s metadata, so an IdP that imports it can check signed AuthnRequests. Several during a rollover: publish the new key’s beside the old one, then change spSigningKeyRef. Needs spSigningKeyRef.
The certificates (PEM) of spDecryptionKeyRef’s key, published in the service provider’s metadata, so an IdP that imports it can encrypt assertions. The IdP may encrypt to any of them, so each is of that one key (a renewed certificate beside the old). Needs spDecryptionKeyRef.
Require signed assertions. Default true.
Assertion attribute names. Defaults: userId = the NameID, email = email.
object
Always false: the list comes whole. Absent from older servers.
Who may add, change and remove the providers here: tenant, its admins; operator, only the deployment’s own token, because the operator manages sign-in (KINDGI_AUTH_TENANT_PROVIDERS=off). The providers there sign people in either way. Absent from older servers: read it as tenant.
Example
{ "data": [ { "join": "invite", "joinRole": "viewer", "kind": "oidc" } ], "changes": "tenant"}Missing / malformed / expired / revoked bearer token.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}Not a member of the workspace (permission-denied). Without an authorization store, anyone reads it.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}rate-limit-exceeded with details.limit: "api-requests", on a runtime that sets workspace limits (Kindgi Cloud): this workspace’s limit on API requests a minute is reached, so the request wasn’t run; Retry-After says when to send it again.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}Headers
Section titled “Headers”Whole seconds to wait before sending the request again, at least 1. Sent with the codes the answer names as sending it, so it may be absent.
The database was too busy to answer in time (database-busy), or the authorization store couldn’t be reached (authz-backend-unavailable); Retry-After (whole seconds) says when to try again.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}Headers
Section titled “Headers”Whole seconds to wait before sending the request again, at least 1. Sent with the codes the answer names as sending it, so it may be absent.
See also
POST /v1/auth/providers: Register an identity provider (OIDC or SAML)GET /v1/auth/providers/{providerId}: Get one identity providerPATCH /v1/auth/providers/{providerId}: Change an identity provider, keeping its sign-in URLsGET /v1/auth/providers/{providerId}/sign-in: What to give the identity provider, before or after registering- Error code
authz-backend-unavailable - Error code
database-busy - Error code
permission-denied - Error code
rate-limit-exceeded - Every error code