Skip to content

feat: add shared sso handoff utilities#36

Merged
zdburrage merged 1 commit intomainfrom
feat/sso-handoff-shared
May 1, 2026
Merged

feat: add shared sso handoff utilities#36
zdburrage merged 1 commit intomainfrom
feat/sso-handoff-shared

Conversation

@zdburrage
Copy link
Copy Markdown
Collaborator

@zdburrage zdburrage commented Apr 29, 2026

Summary

Extracts shared SSO handoff utilities so Cognito, Auth0, and future providers can generate the same WorkOS handoff schemas.

This includes:

  • Shared SAML, OIDC, custom attribute mapping, and proxy route headers
  • Shared row builders with blank defaults for missing fields
  • Shared CSV writer helpers and CSV escaping utility
  • Shared SAML metadata parser and OIDC discovery URL normalizer
  • Structured warning helpers for missing domains, redacted secrets, multi-org consolidation, and unsupported protocols
  • Cognito compatibility re-exports so existing Cognito behavior remains unchanged

Impact

No user-facing Cognito CLI behavior changes. This branch moves SSO handoff primitives into reusable shared modules and keeps Cognito tests passing against the shared implementation.

Stack

This is PR 2 of 3. Merge order:

  1. feat/package-contract
  2. feat/sso-handoff-shared
  3. feat/auth0-package-core

Base branch: feat/package-contract

Validation

  • npm run typecheck
  • npm run lint
  • npm run format:check
  • npm test
  • npm run build

Open in Devin Review

@zdburrage zdburrage marked this pull request as ready for review April 30, 2026 19:44
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

@zdburrage zdburrage changed the base branch from feat/package-contract to main May 1, 2026 21:21
@zdburrage zdburrage merged commit b2f4078 into main May 1, 2026
4 checks passed
@zdburrage zdburrage deleted the feat/sso-handoff-shared branch May 1, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant