v6.0.0 #702
Replies: 2 comments 2 replies
-
Hi @panva we just saw the news that 5.x is being discontinued, and based on these release notes it sounds like the API was changed for 6.x. Do the docs include a migration guide for 5.x users switching to 6.x? We are using your Passport strategy, if that makes a difference. |
Beta Was this translation helpful? Give feedback.
-
Why remove support for dynamic client registration? I'm kind of new to Oauth, but the MCP protocol requires this feature, and therefore I can not use v6, and have to use v5? Or did I miss something. Source: https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization#standards-compliance |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
⚠ BREAKING CHANGES
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 whereprocess.features.require_module
istrue
. This is a new Node.js feature slated to be released without a CLI flag in 23.x and 22.xThis discussion was created from the release v6.0.0.
Beta Was this translation helpful? Give feedback.
All reactions