mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 07:29:16 +00:00
## 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>
Supabase Docs
This directory contains the Next.js app for supabase.com/docs.
Guides live in content/ as MDX. Reference pages are generated from the specs in spec/: OpenAPI, SDKSpec, ConfigSpec, and CLISpec. Some sections come from other repositories.
Where to go
- To write a page, follow the style guide.
- To find where a page lives, add one, or update generated reference docs, use the contributing guide. Library maintainers start at Reference structure.
- To use an agent, use the AI agent skills for docs authoring. Those skills include framing a page and placing it in the information architecture.
- To run the site locally, use the developers' guide.
- To add or change a redirect, read
lib/redirects/README.mdfirst.