MCPcopy Index your code
hub / github.com/simstudioai/sim / domainConflictResponse

Function domainConflictResponse

apps/sim/app/api/auth/sso/register/route.ts:95–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93 ).find((provider) => !isOwnedByCaller(provider))
94
95 const domainConflictResponse = () =>
96 NextResponse.json(
97 {
98 error: 'This domain is already registered for SSO by another organization.',
99 code: 'SSO_DOMAIN_ALREADY_REGISTERED',
100 },
101 { status: 409 }
102 )
103
104 if (await findDomainConflict()) {
105 logger.warn('Rejected SSO registration for domain owned by another tenant', {

Callers 1

route.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected