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

Function isUnauthenticatedOAuthPath

apps/local/src/serve-shared.ts:94–96  ·  view source on GitHub ↗
(pathname: string)

Source from the content-addressed store, hash-verified

92 /^\/api\/oauth\/client-id-metadata\/[^/]+\.json$/.test(pathname);
93
94export const isUnauthenticatedOAuthPath = (pathname: string): boolean =>
95 isUnauthenticatedOAuthCallbackPath(pathname) ||
96 isUnauthenticatedOAuthClientMetadataPath(pathname);

Callers 3

configureServerFunction · 0.90
fetchFunction · 0.90

Tested by

no test coverage detected