(status: number, error: string, errorDescription: string)
| 283 | `${jwtPart({ alg: "RS256", typ: "JWT" })}.${jwtPart(claims)}.sig`; |
| 284 | |
| 285 | const oauthError = (status: number, error: string, errorDescription: string) => |
| 286 | jsonResponse( |
| 287 | status, |
| 288 | { |
| 289 | error, |
| 290 | error_description: errorDescription, |
| 291 | }, |
| 292 | status === 401 ? { "www-authenticate": 'Basic realm="OAuth test server"' } : {}, |
| 293 | ); |
| 294 | |
| 295 | const manualRedirectHttpClientLayer = FetchHttpClient.layer.pipe( |
| 296 | Layer.provide(Layer.succeed(FetchHttpClient.RequestInit, { redirect: "manual" })), |
no test coverage detected