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

Function isJwksSystemFailure

apps/cloud/src/auth/workos.ts:158–159  ·  view source on GitHub ↗
(cause: unknown)

Source from the content-addressed store, hash-verified

156 cause.code === JWKSNoMatchingKey.code);
157
158const isJwksSystemFailure = (cause: unknown): boolean =>
159 isErrorWithCode(cause) && (cause.code === JWKSTimeout.code || cause.code === JWKSInvalid.code);
160
161const parseWorkOSSeal = (
162 seal: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected