MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isOAuthCallback

Function isOAuthCallback

apps/host-selfhost/src/auth/sso.ts:8–9  ·  view source on GitHub ↗
(path: string | undefined)

Source from the content-addressed store, hash-verified

6// stranger signed in at the IdP" from server-side creation (the seed, admin
7// add-user), which never carries either.
8export const isOAuthCallback = (path: string | undefined): boolean =>
9 path?.startsWith("/oauth2/callback/") === true || path?.startsWith("/callback/") === true;
10
11// The domain of a well-formed address, or null — so a malformed email can never
12// match an allowlist entry (`emailDomain("@example.com")` is null, not "example.com").

Callers 1

makeAuthOptionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected