9 Commits
Author SHA1 Message Date
Filip Skokan aa064fc101 test: more discovery coverage 2025-08-06 19:34:55 +02:00
Filip Skokan a5d96ccff1 test: make due without puppeteer 2025-06-21 11:48:22 +02:00
Filip Skokan df56ec0b8e test: add end2end tests for authorization response errors 2025-05-06 18:47:25 +02:00
Filip Skokan 709a772db1 fix: handle POST method Request inputs for non-hybrid responses 2025-05-06 18:47:25 +02:00
Filip Skokan 9682dc4974 feat: support response_type=id_token OIDC Authentication Responses 2025-05-06 18:47:25 +02:00
Filip Skokan 72d81ec759 test: add regression test for issue 710 2024-10-18 21:50:29 +02:00
Filip Skokan 5646eff79f test: refactor runner variables 2024-10-18 21:50:28 +02:00
Filip Skokan d2e1aeb66d feat: add JWKS Cache management for use in non-persistent runtimes 2024-10-17 09:57:07 +02:00
Filip Skokan 53927452eb refactor!: openid-client@6
BREAKING CHANGE: openid-client v6.x is a complete rewrite of the openid-client module, this is the first time since 0.1.0 (8 years ago) that the API has drastically changed. The new module structure and API focuses on three core principles:

- runtime compatibility (adding support for Deno, Cloudflare Workers, Bun, and other Web API interoperable runtimes)
- tree-shakeability (bundles should not contain features that don't end up being used)
- less options (removing support for processing deprecated response types, cutting down on the number of combinations that need to handled)

To that end openid-client@6 no longer supports the full cartesian matrix of response types and response modes, it no longer supports issuing encrypted assertions, decrypting assertions is limited to only a few algorithms, it no longer supports Dynamic Client Registration or Management, and Self-Issued OpenID Provider responses are also not supported.

The new API makes basic setups simple while allowing some degree of complexity where needed.

openid-client@6 is an ESM module using ES2022 syntax and it depends on WebCryptoAPI and Fetch API globals being available in the JS runtime.

openid-client@6 is written in TypeScript and its exported types come with comment annotations.

(Node.js) Versions 20.x and newer have all the necessary globals.

(Node.js) CJS style `let client = require('openid-client')` is possible in versions where `process.features.require_module` is `true`. This is a new Node.js feature slated to be released without a CLI flag in 23.x and 22.x
2024-10-15 23:58:32 +02:00