Skip to content

fix(auth): SSO env-flag parsing + register-form empty state (ADR-0024 / cloud#551)#2400

Merged
os-zhuang merged 1 commit into
mainfrom
adr-0024-sso-quality
Jun 27, 2026
Merged

fix(auth): SSO env-flag parsing + register-form empty state (ADR-0024 / cloud#551)#2400
os-zhuang merged 1 commit into
mainfrom
adr-0024-sso-quality

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Quality polish from the cloud#551 SSO work.

  • plugin-auth: OS_OIDC_PROVIDER_ENABLED / OS_SSO_ENABLED / OS_SCIM_ENABLED now use the shared readBooleanEnv parser, so true/1/yes/on all enable (was the literal 'true' only — OS_SSO_ENABLED=1 silently parsed as disabled, a repeated operator footgun). + unit tests (10 cases).
  • platform-objects: sys_sso_provider list view gets a per-object empty state ("No SSO providers yet" → "Register SSO Provider"); the shared identity-object copy wrongly said records can't be added here.

Verified E2E: OS_SSO_ENABLED=1features.sso: true; the SSO Providers list shows the new empty state.

🤖 Generated with Claude Code

… / cloud#551)

- plugin-auth: OS_OIDC_PROVIDER_ENABLED / OS_SSO_ENABLED / OS_SCIM_ENABLED now use
  the shared readBooleanEnv parser so true/1/yes/on all work (was literal 'true'
  only — OS_SSO_ENABLED=1 silently disabled the RP). + unit tests.
- platform-objects: sys_sso_provider list view gets a per-object empty state
  pointing at "Register SSO Provider" (the shared identity-object copy wrongly
  said records can't be added here).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 27, 2026 6:18pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests tooling size/s and removed documentation Improvements or additions to documentation tests tooling labels Jun 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/platform-objects, @objectstack/plugin-auth.

11 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:

  • content/docs/concepts/implementation-status.mdx (via @objectstack/plugin-auth)
  • content/docs/concepts/packages.mdx (via @objectstack/platform-objects, @objectstack/plugin-auth)
  • content/docs/concepts/setup-app.mdx (via @objectstack/platform-objects)
  • content/docs/getting-started/cli.mdx (via @objectstack/plugin-auth)
  • content/docs/guides/auth-sso.mdx (via @objectstack/plugin-auth)
  • content/docs/guides/authentication.mdx (via @objectstack/plugin-auth)
  • content/docs/guides/kernel-services.mdx (via @objectstack/plugin-auth)
  • content/docs/guides/packages.mdx (via @objectstack/platform-objects, @objectstack/plugin-auth)
  • content/docs/guides/plugins.mdx (via @objectstack/plugin-auth)
  • content/docs/guides/production-readiness.mdx (via @objectstack/plugin-auth)
  • content/docs/releases/v9.mdx (via @objectstack/plugin-auth)

Advisory only. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs origin/main → pass the list as args.docs.

@os-zhuang
os-zhuang merged commit d7a88df into main Jun 27, 2026
16 checks passed
@os-zhuang
os-zhuang deleted the adr-0024-sso-quality branch June 27, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant