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

Function isJwksSystemFailure

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

Source from the content-addressed store, hash-verified

134 cause.code === JWKSNoMatchingKey.code);
135
136const isJwksSystemFailure = (cause: unknown): boolean =>
137 isErrorWithCode(cause) && (cause.code === JWKSTimeout.code || cause.code === JWKSInvalid.code);
138
139const parseWorkOSSeal = (
140 seal: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected