Skip to content

fix(cli): tolerate missing SSO SAML IDs#5485

Merged
jgoux merged 2 commits into
developfrom
julien/cli-1558-sso-list-fails-with-schemaerror-in-v21020
Jun 5, 2026
Merged

fix(cli): tolerate missing SSO SAML IDs#5485
jgoux merged 2 commits into
developfrom
julien/cli-1558-sso-list-fails-with-schemaerror-in-v21020

Conversation

@jgoux
Copy link
Copy Markdown
Contributor

@jgoux jgoux commented Jun 5, 2026

This updates the OpenAPI download flow to apply explicit JSON Patch overrides before writing the generated spec.

The override corrects the SSO list response schema so items[].saml.id is optional while entity_id remains required, matching the live API response shape.

The API artifacts are regenerated from the corrected OpenAPI document, and the CLI SSO list integration coverage now includes a provider whose SAML descriptor omits id.

@jgoux jgoux marked this pull request as ready for review June 5, 2026 09:59
@jgoux jgoux requested a review from a team as a code owner June 5, 2026 09:59
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase@5485

Preview package for commit 888970b.

@jgoux jgoux merged commit 618912c into develop Jun 5, 2026
27 checks passed
@jgoux jgoux deleted the julien/cli-1558-sso-list-fails-with-schemaerror-in-v21020 branch June 5, 2026 10:07
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