Files
supabase/apps/docs/content
Stojan DimitrovskiandClaude Sonnet 5.5 ca8ee0b93e docs(auth): document dedicated scope for SAML providers (#53859)
## What

Documents the SAML \`dedicated_scope\` option added in
[supabase/auth#2893](https://github.com/supabase/auth/pull/2893) and
exposed in the CLI in
[supabase/cli#7665](https://github.com/supabase/cli/pull/7665).

Some identity providers, notably Microsoft Entra, don't allow the same
entity ID in more than one application, so a project could connect only
one such app. A provider with a dedicated scope gets its own entity ID,
metadata URL, and ACS URL scoped to its provider ID.

## Changes

- `auth-sso-saml.mdx`: new "Use a dedicated scope for a connection"
section with the URL comparison, the `--dedicated-scope` flag, which
commands print the dedicated URLs, and a setup procedure for identity
providers (such as Okta) that need the URLs when the app is created. The
shared-URL table now links to it.
- `cli_v1_commands.yaml`: adds `--dedicated-scope` to `supabase sso
add`.

## Needs review

- The Entra-specific flow isn't verified. The procedure follows the Okta
workflow generically; it's unclear whether Entra rejects a second app
created with the shared entity ID.
- "Remove and add the connection again" to change scope is inferred,
because `sso update` doesn't accept the flag.
- No minimum CLI or Auth version is stated.
- The generated Management API reference isn't updated, since the
published spec doesn't document `dedicated_scope` yet.
- The self-hosted SAML page isn't checked.
- Not run: docs build, link and anchor checks, `test-the-docs`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 14:10:06 +00:00
..