Skip to content

Commit a9eb50f

Browse files
committed
refactor: workaround dpop nonce caching caveats with customFetch
1 parent 60d7639 commit a9eb50f

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

docs/variables/customFetch.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ Known caveats:
3131
- Expect Type-related issues when passing the inputs through to fetch-like
3232
modules, they hardly ever get their typings inline with actual fetch, you
3333
should `@ts-expect-error` them.
34-
- Returning self-constructed [Response](https://developer.mozilla.org/docs/Web/API/Response) instances prohibits
35-
AS/RS-signalled DPoP Nonce caching.
3634

3735
## Examples
3836

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
},
8787
"dependencies": {
8888
"jose": "^6.1.0",
89-
"oauth4webapi": "^3.8.1"
89+
"oauth4webapi": "^3.8.2"
9090
},
9191
"devDependencies": {
9292
"@koa/cors": "^5.0.0",

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,6 @@ export const skipSubjectCheck: typeof oauth.skipSubjectCheck =
531531
* - Expect Type-related issues when passing the inputs through to fetch-like
532532
* modules, they hardly ever get their typings inline with actual fetch, you
533533
* should `@ts-expect-error` them.
534-
* - Returning self-constructed {@link !Response} instances prohibits
535-
* AS/RS-signalled DPoP Nonce caching.
536534
*
537535
* @example
538536
*

0 commit comments

Comments
 (0)