Skip to content

docs(compliance): register getSSOSignInUrl symbol for sign_in_with_sso - #1613

Merged
spydon merged 3 commits into
mainfrom
chore/sso-compliance-symbol
Jul 17, 2026
Merged

spydon merged 3 commits into
mainfrom
chore/sso-compliance-symbol

Conversation

@spydon

@spydon spydon commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

What

Adds the backing public symbol GoTrueClient.getSSOSignInUrl to the auth.sign_in.sign_in_with_sso entry in sdk-compliance.yaml.

Why

SSO sign-in is already functionally complete in the Dart SDK: the redirect URL is obtained via the public getSSOSignInUrl, which is re-exported all the way up so end users can call supabase.auth.getSSOSignInUrl(...) directly. The matrix already documented the deviation from supabase-js (returns Future<String> instead of the structured { url } response); this change records the concrete symbol that backs the capability, matching how other entries (e.g. auth.session.get_session → GoTrueClient.getSession) list theirs.

Follow-up to the discussion on #1598, which was closed as not planned since the capability is already reachable and the name/return-shape alignment is a v3 concern.

@spydon
spydon requested a review from a team as a code owner July 17, 2026 09:35
@coderabbitai

coderabbitai Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3c86d545-a4fe-42ba-ad22-2f89c52139c5

📥 Commits

Reviewing files that changed from the base of the PR and between 7e66657 and 2ece780.

📒 Files selected for processing (1)
  • sdk-compliance.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • sdk-compliance.yaml

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Updated SDK capability documentation for SSO sign-in, including Flutter support for retrieving the SSO sign-in URL and launching sign-in via the browser.

Walkthrough

The auth.sign_in.sign_in_with_sso entry in sdk-compliance.yaml now documents the split between fetching an SSO URL with getSSOSignInUrl and launching it with signInWithSSO. The symbols list includes GoTrueClient.getSSOSignInUrl.

Possibly related PRs


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Capability matrix drift detected

The following capabilities are marked implemented in flutter but have no registered symbols to verify:

  • auth.sign_in.sign_up (no symbols list — cannot confirm implementation exists)
  • auth.sign_in.sign_in_with_password (no symbols list — cannot confirm implementation exists)
  • auth.sign_in.sign_in_with_otp (no symbols list — cannot confirm implementation exists)
  • auth.sign_in.sign_in_with_id_token (no symbols list — cannot confirm implementation exists)
  • auth.sign_in.sign_in_anonymously (no symbols list — cannot confirm implementation exists)
  • auth.sign_in.verify_otp (no symbols list — cannot confirm implementation exists)
  • auth.sign_in.exchange_code_for_session (no symbols list — cannot confirm implementation exists)
  • auth.sign_in.resend_confirmation (no symbols list — cannot confirm implementation exists)
  • auth.sign_in.reauthenticate (no symbols list — cannot confirm implementation exists)
  • auth.sign_in.reset_password (no symbols list — cannot confirm implementation exists)
  • auth.session.refresh_session (no symbols list — cannot confirm implementation exists)
  • auth.session.get_user (no symbols list — cannot confirm implementation exists)
  • auth.session.get_claims (no symbols list — cannot confirm implementation exists)
  • auth.session.sign_out (no symbols list — cannot confirm implementation exists)
  • auth.session.auto_refresh (no symbols list — cannot confirm implementation exists)
  • auth.session.subscribe_auth_events (no symbols list — cannot confirm implementation exists)
  • auth.identities.link_identity (no symbols list — cannot confirm implementation exists)
  • auth.identities.list_identities (no symbols list — cannot confirm implementation exists)
  • auth.identities.unlink_identity (no symbols list — cannot confirm implementation exists)
  • auth.mfa.enroll (no symbols list — cannot confirm implementation exists)
  • auth.mfa.challenge (no symbols list — cannot confirm implementation exists)
  • auth.mfa.verify (no symbols list — cannot confirm implementation exists)
  • auth.mfa.challenge_and_verify (no symbols list — cannot confirm implementation exists)
  • auth.mfa.unenroll (no symbols list — cannot confirm implementation exists)
  • auth.mfa.list_factors (no symbols list — cannot confirm implementation exists)
  • auth.mfa.get_authenticator_assurance_level (no symbols list — cannot confirm implementation exists)
  • auth.passkey.register_passkey (no symbols list — cannot confirm implementation exists)
  • auth.passkey.sign_in_with_passkey (no symbols list — cannot confirm implementation exists)
  • auth.admin.create_user (no symbols list — cannot confirm implementation exists)
  • auth.admin.get_user (no symbols list — cannot confirm implementation exists)
  • auth.admin.update_user (no symbols list — cannot confirm implementation exists)
  • auth.admin.delete_user (no symbols list — cannot confirm implementation exists)
  • auth.admin.invite_user (no symbols list — cannot confirm implementation exists)
  • auth.admin.generate_link (no symbols list — cannot confirm implementation exists)
  • auth.admin.sign_out (no symbols list — cannot confirm implementation exists)
  • auth.admin.list_mfa_factors (no symbols list — cannot confirm implementation exists)
  • auth.admin.delete_mfa_factor (no symbols list — cannot confirm implementation exists)
  • auth.oauth_admin.create_client (no symbols list — cannot confirm implementation exists)
  • auth.oauth_admin.get_client (no symbols list — cannot confirm implementation exists)
  • auth.oauth_admin.update_client (no symbols list — cannot confirm implementation exists)
  • auth.oauth_admin.delete_client (no symbols list — cannot confirm implementation exists)
  • auth.oauth_admin.list_clients (no symbols list — cannot confirm implementation exists)
  • auth.oauth_admin.regenerate_client_secret (no symbols list — cannot confirm implementation exists)
  • auth.passkey_admin.list_passkeys (no symbols list — cannot confirm implementation exists)
  • auth.passkey_admin.delete_passkey (no symbols list — cannot confirm implementation exists)
  • database.query.from_table (no symbols list — cannot confirm implementation exists)
  • database.query.select (no symbols list — cannot confirm implementation exists)
  • database.query.rpc (no symbols list — cannot confirm implementation exists)
  • database.query.schema_selection (no symbols list — cannot confirm implementation exists)
  • database.mutate.insert (no symbols list — cannot confirm implementation exists)
  • database.mutate.update (no symbols list — cannot confirm implementation exists)
  • database.mutate.upsert (no symbols list — cannot confirm implementation exists)
  • database.mutate.delete (no symbols list — cannot confirm implementation exists)
  • database.mutate.select_after_mutation (no symbols list — cannot confirm implementation exists)
  • database.using_filters.eq (no symbols list — cannot confirm implementation exists)
  • database.using_filters.neq (no symbols list — cannot confirm implementation exists)
  • database.using_filters.gt (no symbols list — cannot confirm implementation exists)
  • database.using_filters.gte (no symbols list — cannot confirm implementation exists)
  • database.using_filters.lt (no symbols list — cannot confirm implementation exists)
  • database.using_filters.lte (no symbols list — cannot confirm implementation exists)
  • database.using_filters.like (no symbols list — cannot confirm implementation exists)
  • database.using_filters.like_all (no symbols list — cannot confirm implementation exists)
  • database.using_filters.like_any (no symbols list — cannot confirm implementation exists)
  • database.using_filters.ilike (no symbols list — cannot confirm implementation exists)
  • database.using_filters.ilike_all (no symbols list — cannot confirm implementation exists)
  • database.using_filters.ilike_any (no symbols list — cannot confirm implementation exists)
  • database.using_filters.is (no symbols list — cannot confirm implementation exists)
  • database.using_filters.is_distinct (no symbols list — cannot confirm implementation exists)
  • database.using_filters.in (no symbols list — cannot confirm implementation exists)
  • database.using_filters.not_in (no symbols list — cannot confirm implementation exists)
  • database.using_filters.contains (no symbols list — cannot confirm implementation exists)
  • database.using_filters.contained_by (no symbols list — cannot confirm implementation exists)
  • database.using_filters.overlaps (no symbols list — cannot confirm implementation exists)
  • database.using_filters.match (no symbols list — cannot confirm implementation exists)
  • database.using_filters.not (no symbols list — cannot confirm implementation exists)
  • database.using_filters.or (no symbols list — cannot confirm implementation exists)
  • database.using_filters.range_gt (no symbols list — cannot confirm implementation exists)
  • database.using_filters.range_gte (no symbols list — cannot confirm implementation exists)
  • database.using_filters.range_lt (no symbols list — cannot confirm implementation exists)
  • database.using_filters.range_lte (no symbols list — cannot confirm implementation exists)
  • database.using_filters.range_adjacent (no symbols list — cannot confirm implementation exists)
  • database.using_filters.text_search (no symbols list — cannot confirm implementation exists)
  • database.using_filters.regex (no symbols list — cannot confirm implementation exists)
  • database.using_filters.regex_icase (no symbols list — cannot confirm implementation exists)
  • database.using_filters.raw (no symbols list — cannot confirm implementation exists)
  • database.using_modifiers.order (no symbols list — cannot confirm implementation exists)
  • database.using_modifiers.limit (no symbols list — cannot confirm implementation exists)
  • database.using_modifiers.range (no symbols list — cannot confirm implementation exists)
  • database.using_modifiers.single_row (no symbols list — cannot confirm implementation exists)
  • database.using_modifiers.maybe_single_row (no symbols list — cannot confirm implementation exists)
  • database.using_modifiers.max_affected_rows (no symbols list — cannot confirm implementation exists)
  • database.using_modifiers.format_csv (no symbols list — cannot confirm implementation exists)
  • database.using_modifiers.format_geojson (no symbols list — cannot confirm implementation exists)
  • database.using_modifiers.relationship_embed (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.access_bucket (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.upload (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.upload_with_metadata (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.upload_with_signed_url (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.update_file (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.download (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.download_with_transform (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.list_files (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.move (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.move_cross_bucket (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.copy (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.copy_cross_bucket (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.remove (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.create_signed_urls (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.create_signed_upload_url (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.get_public_url (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.url_cache_nonce (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.file_exists (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.file_info (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.create_file_bucket (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.get_bucket (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.update_bucket (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.delete_file_bucket (no symbols list — cannot confirm implementation exists)
  • storage.file_buckets.empty_bucket (no symbols list — cannot confirm implementation exists)
  • storage.vector_buckets.parallel_scan (no symbols list — cannot confirm implementation exists)
  • realtime.channel.subscribe (no symbols list — cannot confirm implementation exists)
  • realtime.channel.unsubscribe (no symbols list — cannot confirm implementation exists)
  • realtime.channel.send (no symbols list — cannot confirm implementation exists)
  • realtime.channel.broadcast_http (no symbols list — cannot confirm implementation exists)
  • realtime.client.channel (no symbols list — cannot confirm implementation exists)
  • realtime.client.connect (no symbols list — cannot confirm implementation exists)
  • realtime.client.connection_state (no symbols list — cannot confirm implementation exists)
  • realtime.client.get_channels (no symbols list — cannot confirm implementation exists)
  • realtime.client.remove_channel (no symbols list — cannot confirm implementation exists)
  • realtime.client.remove_all_channels (no symbols list — cannot confirm implementation exists)
  • realtime.client.set_auth_token (no symbols list — cannot confirm implementation exists)
  • realtime.subscriptions.broadcast (no symbols list — cannot confirm implementation exists)
  • realtime.subscriptions.subscribe_presence (no symbols list — cannot confirm implementation exists)
  • realtime.subscriptions.private_channel (no symbols list — cannot confirm implementation exists)
  • realtime.subscriptions.broadcast_self (no symbols list — cannot confirm implementation exists)
  • realtime.subscriptions.broadcast_ack (no symbols list — cannot confirm implementation exists)
  • realtime.subscriptions.broadcast_replay (no symbols list — cannot confirm implementation exists)
  • realtime.presence.track (no symbols list — cannot confirm implementation exists)
  • realtime.presence.untrack (no symbols list — cannot confirm implementation exists)
  • realtime.presence.presence_state (no symbols list — cannot confirm implementation exists)
  • realtime.presence.presence_key (no symbols list — cannot confirm implementation exists)
  • realtime.configuration.custom_websocket_transport (no symbols list — cannot confirm implementation exists)
  • realtime.configuration.reconnect_backoff (no symbols list — cannot confirm implementation exists)
  • realtime.configuration.heartbeat_interval (no symbols list — cannot confirm implementation exists)
  • realtime.configuration.access_token_callback (no symbols list — cannot confirm implementation exists)
  • realtime.configuration.custom_logger (no symbols list — cannot confirm implementation exists)
  • realtime.configuration.binary_protocol (no symbols list — cannot confirm implementation exists)
  • functions.invocation.set_auth_token (no symbols list — cannot confirm implementation exists)
  • functions.invocation.method_override (no symbols list — cannot confirm implementation exists)
  • functions.invocation.streaming_response (no symbols list — cannot confirm implementation exists)
  • functions.invocation.region_selection (no symbols list — cannot confirm implementation exists)
  • client.authentication_integration.third_party_auth (no symbols list — cannot confirm implementation exists)
  • client.authentication_integration.cross_client_token_sync (no symbols list — cannot confirm implementation exists)
  • client.authentication_integration.oauth_flow_type (no symbols list — cannot confirm implementation exists)
  • client.session_management.custom_storage (no symbols list — cannot confirm implementation exists)
  • client.request_configuration.custom_http_client (no symbols list — cannot confirm implementation exists)
  • client.request_configuration.global_headers (no symbols list — cannot confirm implementation exists)

These may have been renamed, removed, or never registered. Please update the capability matrix.
See: https://github.com/supabase/sdk/blob/main/docs/capability-matrix.md

spydon added a commit that referenced this pull request Jul 17, 2026
…lities

Every capability marked implemented in sdk-compliance.yaml now carries a
symbols list pointing at the public Dart symbol(s) that back it, so the
capability-matrix drift check can verify each one exists. Previously these
implemented capabilities had no symbols list and were reported as
unverifiable drift on every PR.

Stacked on #1613, which registers the sign_in_with_sso symbol.
@spydon
spydon merged commit 06ab3e2 into main Jul 17, 2026
20 checks passed
@spydon
spydon deleted the chore/sso-compliance-symbol branch July 17, 2026 11:13
spydon added a commit that referenced this pull request Jul 17, 2026
…lities

Every capability marked implemented in sdk-compliance.yaml now carries a
symbols list pointing at the public Dart symbol(s) that back it, so the
capability-matrix drift check can verify each one exists. Previously these
implemented capabilities had no symbols list and were reported as
unverifiable drift on every PR.

Stacked on #1613, which registers the sign_in_with_sso symbol.
spydon added a commit that referenced this pull request Jul 17, 2026
…lities (#1614)

## What

Adds a `symbols:` list to every capability in `sdk-compliance.yaml` that
was marked `implemented` but had no registered symbols (156 capabilities
across auth, database, storage, realtime, functions, and client).

> **Stacked on #1613.** This PR targets `chore/sso-compliance-symbol`
and inherits the `sign_in_with_sso` symbol registered there;
review/merge #1613 first, then this.

## Why

The reusable **SDK Compliance** workflow runs a capability-matrix drift
check on every PR (see the drift comment on #1613). For each
`implemented` capability it expects a `symbols:` list so the Dart symbol
extractor can confirm the backing public API actually exists.
Capabilities without a list are reported as unverifiable, which is why
every PR got a ~150-line drift warning. This registers the backing
symbol(s) for each remaining one, clearing the drift.

## How

- Ran the same `dart_symbol_extractor` the CI uses (from `supabase/sdk`)
against this repo to produce the ground-truth public symbol dump, then
mapped each capability to the public Dart symbol(s) that implement it
(e.g. `auth.sign_in.sign_up` → `GoTrueClient.signUp`,
`database.using_filters.eq` → `PostgrestFilterBuilder.eq`).
- Every registered symbol was validated to exist in the extractor
output, and the drift-check logic was replicated locally: it now reports
**0 findings**.
- Symbols that are intentionally `@internal` (e.g.
`RealtimeClient.connect`, which is not part of the public parity surface
since Dart connects lazily on subscribe) were not registered; those
capabilities point at the public symbol that actually drives them.

## Notes

- No source or public API changed, this only touches the compliance
matrix, so the "new public symbols" check is unaffected.
Vinzent03 pushed a commit that referenced this pull request Jul 28, 2026
#1613)

## What

Adds the backing public symbol `GoTrueClient.getSSOSignInUrl` to the
`auth.sign_in.sign_in_with_sso` entry in `sdk-compliance.yaml`.

## Why

SSO sign-in is already functionally complete in the Dart SDK: the
redirect URL is obtained via the public `getSSOSignInUrl`, which is
re-exported all the way up so end users can call
`supabase.auth.getSSOSignInUrl(...)` directly. The matrix already
documented the deviation from supabase-js (returns `Future<String>`
instead of the structured `{ url }` response); this change records the
concrete symbol that backs the capability, matching how other entries
(e.g. `auth.session.get_session` → `GoTrueClient.getSession`) list
theirs.

Follow-up to the discussion on #1598, which was closed as not planned
since the capability is already reachable and the name/return-shape
alignment is a v3 concern.
Vinzent03 pushed a commit that referenced this pull request Jul 28, 2026
…lities (#1614)

## What

Adds a `symbols:` list to every capability in `sdk-compliance.yaml` that
was marked `implemented` but had no registered symbols (156 capabilities
across auth, database, storage, realtime, functions, and client).

> **Stacked on #1613.** This PR targets `chore/sso-compliance-symbol`
and inherits the `sign_in_with_sso` symbol registered there;
review/merge #1613 first, then this.

## Why

The reusable **SDK Compliance** workflow runs a capability-matrix drift
check on every PR (see the drift comment on #1613). For each
`implemented` capability it expects a `symbols:` list so the Dart symbol
extractor can confirm the backing public API actually exists.
Capabilities without a list are reported as unverifiable, which is why
every PR got a ~150-line drift warning. This registers the backing
symbol(s) for each remaining one, clearing the drift.

## How

- Ran the same `dart_symbol_extractor` the CI uses (from `supabase/sdk`)
against this repo to produce the ground-truth public symbol dump, then
mapped each capability to the public Dart symbol(s) that implement it
(e.g. `auth.sign_in.sign_up` → `GoTrueClient.signUp`,
`database.using_filters.eq` → `PostgrestFilterBuilder.eq`).
- Every registered symbol was validated to exist in the extractor
output, and the drift-check logic was replicated locally: it now reports
**0 findings**.
- Symbols that are intentionally `@internal` (e.g.
`RealtimeClient.connect`, which is not part of the public parity surface
since Dart connects lazily on subscribe) were not registered; those
capabilities point at the public symbol that actually drives them.

## Notes

- No source or public API changed, this only touches the compliance
matrix, so the "new public symbols" check is unaffected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants