`GET /auth/oidc/byo/{slug}/info` — public, pre-auth org info for the `/sso/{slug}` confirm-fallback landing (board-auth-sso, ADR 0031 A6 hybrid). Fail-closed and non-enumerating exactly like `start`: an unknown/disabled/unentitled slug is a generic 404; an enabled one returns the org's display name + slug + plan label (no secrets) for the chip. The default `/sso/{slug}` path still auto-redirects; this is only hit when the SPA renders the confirm landing.
const url = 'https://example.com/api/auth/oidc/byo/example/info';const options = {method: 'GET'};
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/api/auth/oidc/byo/example/infoParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization SSO realm slug
Responses
Section titled “Responses”Public, pre-auth SSO landing info for the /sso/{slug} confirm fallback
(board-auth-sso, ADR 0031 A6 hybrid). Returned ONLY for an enabled+entitled
org — it reuses the exact resolve_org_provider_by_slug gate, so it never
enumerates which slugs have BYO-OIDC (an unknown/disabled/unentitled slug is
None → 404). Carries no secrets: just the org’s display name, slug, and plan
label for the chip + edition badge.
object
Examplegenerated
{ "name": "example", "plan_label": "example", "slug": "example"}SSO realm not found / disabled / unentitled
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}