You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a new step to create organization domains and verify them with TXT verification. This step is required before selecting a provider, and all domains must get verified before proceesing.
CleanShot.2026-06-12.at.17.12.48.mp4
Checklist
pnpm test runs as expected.
pnpm build runs as expected.
(If applicable) JSDoc comments have been added or updated for any package exports
Add/manage organization SSO domains (add, list, remove) with strict domain validation, TXT ownership verification, bulk ownership verification flow, realtime polling until verified, and an Enterprise SSO badge.
UX
SSO setup wizard now uses organization domains as the verification gate (skips verify step when all domains verified); Continue only when domains verified; domain suggestions when none exist.
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
Use the following commands to manage reviews:
@coderabbitai resume to resume automatic reviews.
@coderabbitai review to trigger a single review.
Use the checkboxes below for quick actions:
▶️ Resume reviews
🔍 Trigger review
📝 Walkthrough
Walkthrough
Adds TXT-based organization domain ownership verification: new DTOs and org APIs, cache keys and internal hook with polling, OrganizationDomainsStep UI and validators, ConfigureSSO/context rewiring to pass domain mutations, appearance/localization updates across locales, and updated tests.
Changes
Organization domain TXT verification
Layer / File(s)
Summary
Shared DTOs and localization types packages/shared/src/types/*
Adds ownership verification JSON types, extends OrganizationDomain JSON with affiliation/ownership fields, and updates LocalizationResource shape for organizationDomainsStep and enterprise SSO badge.
Context and provider now carry enterpriseConnectionMutations and organizationDomainMutations; primary-email derived flows removed; ConfigureSSO/OrganizationSecurity pass organizationDomains and domain mutation handlers into the wizard.
New wizard step with domain input, strict domain validator, suggestion from user email, domain cards showing TXT instructions/verified timestamp, create/delete flows, and Continue gating on ownershipVerification status.
Wizard now renders OrganizationDomainsStep for verification; SelectProvider forwards domain names to createConnection; VerifyDomainStep removed; various steps read mutations from enterpriseConnectionMutations.
~40 locale files replace verifyEmailDomainStep with organizationDomainsStep; en-US adds enterprise SSO badge; new configureSSOVerifyDomain appearance keys and element selectors added.
Tests updated to mock organization domains, assert wizard navigation based on domain verification, adapt useConfigureSSO mock shape to enterpriseConnectionMutations, and verify domain-forwarding into createConnection.
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
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.
Description
Introduce a new step to create organization domains and verify them with TXT verification. This step is required before selecting a provider, and all domains must get verified before proceesing.
CleanShot.2026-06-12.at.17.12.48.mp4
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit
New Features
UX
Localization