library · inferred from evidence
cross-fetch
A library (node-fetch@2) used by @descope/node-sdk for fetching JWKS keys.
- authMiddleware rejects valid tokens: node-fetch cannot decode Brotli JWKS (ERR_STREAM_PREMATURE_CLOSE)
Fixed in @descope/node-sdk@2.8.0, which switched to the runtime's native fetch (undici) instead of node-fetch@2 and therefore decodes the Brotli JWKS response correctly; the nextjs-sdk pin was also lifted in PR #1419. Upgrade @descope/node-