Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/auth/sso/register/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ db, member, ssoProvider } from
'@sim/db'
2
import
{ createLogger } from
'@sim/logger'
3
import
{ getErrorMessage } from
'@sim/utils/errors'
4
import
{ and, eq, sql } from
'drizzle-orm'
Callers
nothing calls this directly
Calls
15
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
hasSSOAccess
Function · 0.90
parseRequest
Function · 0.90
getValidationErrorMessage
Function · 0.90
normalizeSSODomain
Function · 0.90
validateUrlWithDNS
Function · 0.90
secureFetchWithPinnedIP
Function · 0.90
getErrorMessage
Function · 0.90
getBaseUrl
Function · 0.90
findDomainConflict
Function · 0.85
domainConflictResponse
Function · 0.85
Tested by
no test coverage detected