unstale

npm / openid-client

openid-client

What changed in openid-client 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

1 security1 new APIs and options14 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

openid-client 616 changes

Security 1

  • One-time state is deleted on callback, preventing it from persisting after use.

    6.8.3release notes

New APIs and options 1

  • The custom fetch types now expose the duplex option.

    6.8.5release notes

Fixes and other changes 14

  • Clock settings are preserved across DCR nonce retries.

    6.8.8release notes

  • The default HTTP request timeout is now applied.

    6.8.8release notes

  • When kid is omitted, decryption selects a unique key.

    6.8.8release notes

  • Caches for lazy client authentication handlers are isolated.

    6.8.8release notes

  • Rejected async verification callbacks are now handled.

    6.8.8release notes

  • Abort signals are retained through response processing during polling.

    6.8.8release notes

  • Token lifetimes are calculated using elapsed time.

    6.8.8release notes

  • The claims helper can now be destructured.

    6.8.7release notes

  • Avoids an undefined user-agent in fetchProtectedResource.

    6.8.6release notes

  • Generic grants retry DPoP nonce errors.

    6.8.4release notes

  • JWE decryption keys are filtered by algorithm.

    6.8.4release notes

  • Optional non-repudiation is applied on generic grant ID Tokens.

    6.8.4release notes

  • Abort signals from polls are preserved on requests.

    6.8.4release notes

  • Uses duplex: half when fetchProtectedResource receives a ReadableStream body.

    6.8.2release notes