Enterprise single sign-on often begins with a domain. A product may route employees from a company email address to a particular identity provider or let an administrator claim that domain for a workspace. Those conveniences depend on an ownership decision that must be made carefully.
An email suffix does not prove that a workspace administrator controls the company’s domain. Verify that control before letting the administrator change how everyone at that domain signs in.
Separate domain proof from account identity
An identity assertion needs to be validated for the expected issuer, recipient, and application context. OWASP's SAML guidance explains these validation boundaries and the consequences of accepting an assertion in the wrong context. The SAML security guidance supplies the protocol background.
Domain verification is a separate product workflow. An illustrative SaaS service might require a DNS challenge before allowing an administrator to claim a company's domain. That proof demonstrates control of the configured DNS location at a point in time. The product still needs rules for conflicting claims, subsidiaries, and later ownership changes.
Account linking can alter existing access
When SSO is enabled, existing accounts may already use the same email addresses. Decide whether they are linked automatically, require confirmation, or remain separate. The authenticated issuer and stable subject identifier matter because email addresses can change and may be reassigned.
Record how the application selects the tenant before and after authentication. User-supplied workspace identifiers can be selectors, but the resulting assertion and account membership must still authorize access to the chosen workspace. A valid login to one company must not establish membership in another.
Test competing and changing claims
Use domains controlled for testing to exercise a normal claim, a second workspace claiming the same domain, and a failed challenge. Verify that an unverified workspace cannot alter the sign-in path for existing users. Include removal and re-verification of a previously claimed test domain.
Then test an assertion from a different configured test issuer and an existing user whose email changes. Inspect the resulting account identity and workspace membership. The objective is to establish whether linking follows the documented ownership model rather than a loose match on visible email text.
Document the transition procedure
Domain transfers, acquisitions, and identity-provider replacements can require coordinated changes. A procedure can identify the current workspace owner, verification evidence, affected users, and rollback conditions. Audit records should show who changed the identity configuration and what changed.
Use test domains to verify onboarding and transfer behavior. In the report, distinguish invalid identity assertions from mistakes in domain ownership or account linking. Both can grant the wrong access, but the fixes belong in different parts of the application.
Sources
OWASP: Authentication. The DNS verification design is illustrative and is not a universal SSO protocol requirement.