Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider updating openid-client to v6.x #1326

Open
alxndrsn opened this issue Dec 4, 2024 · 0 comments
Open

Consider updating openid-client to v6.x #1326

alxndrsn opened this issue Dec 4, 2024 · 0 comments

Comments

@alxndrsn
Copy link
Contributor

alxndrsn commented Dec 4, 2024

v6 is a complete rewrite, with API changes: https://github.com/panva/openid-client/releases/tag/v6.0.0

This version aims to have less footguns:

less options (removing support for processing deprecated response types, cutting down on the number of combinations that need to handled)

It may require node v22 for practical use:

openid-client@6 is an ESM module using ES2022 syntax
...
(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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant