feat: gate SCIM router behind an experimental feature flag#2639
Open
xlgmokha wants to merge 2 commits into
Open
feat: gate SCIM router behind an experimental feature flag#2639xlgmokha wants to merge 2 commits into
xlgmokha wants to merge 2 commits into
Conversation
xlgmokha
force-pushed
the
xlgmokha/auth-1361
branch
2 times, most recently
from
July 22, 2026 20:48
e7d8b74 to
8f88cf8
Compare
xlgmokha
force-pushed
the
xlgmokha/auth-1361
branch
from
July 22, 2026 21:15
b655b27 to
3264d52
Compare
Add `GOTRUE_EXPERIMENTAL_SCIM_ENABLED` (default false) to conditionally mount `/scim/v2/*`, the first step toward SCIM (System for Cross-domain Identity Management) support for provisioning and deprovisioning users from an identity provider. This reimplements a smaller, subset of prior SCIM work from: * #2115 * #2309
xlgmokha
force-pushed
the
xlgmokha/auth-1361
branch
from
July 22, 2026 21:31
b62eda3 to
e5ed34f
Compare
xlgmokha
marked this pull request as ready for review
July 22, 2026 21:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
Add
GOTRUE_EXPERIMENTAL_SCIM_ENABLED(default false) to conditionally mount/scim/v2/*, the first step toward SCIM (System for Cross-domain Identity Management) support for provisioning and deprovisioning users from an identity provider.Ships dark: with the flag off, no SCIM routes are reachable; with it on, the router mounts three stub endpoints (ServiceProviderConfig, ResourceTypes, Schemas) that return 501 until real handlers land in follow-up PRs.
What is the current behavior?
Currently, we do not have SCIM support. There is no
/scim/v2router and no way for an identity provider to provision or deprovision users automatically.https://linear.app/supabase/issue/AUTH-1361/enable-scim-via-feature-flag
What is the new behavior?
This is the first step towards adding SCIM support: a feature flag that gates the
/scim/v2router, shipped dark with no customer-facing toggle yet, so it can be verified internally before real per-provider enablement is added.Additional context
This reimplements a smaller, subset of SCIM support. It draws on ideas and endpoint shapes explored in two earlier PRs: