tool · inferred from evidence
Brotli
A compression algorithm (content-encoding: br) used for JWKS responses.
- 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-