node-openid-client

OAuth 2 / OpenID Connect Client API for JavaScript Runtimes

MIT License

Downloads
10.2M
Stars
1.8K
Committers
45

Bot releases are visible (Hide)

node-openid-client - v6.1.1 Latest Release

Published by github-actions[bot] 9 days ago

Documentation

  • update link to passport example (110575b)

Fixes

  • correct supportsPKCE bool return (f1aa9db), closes #710
node-openid-client - v6.1.0

Published by github-actions[bot] 10 days ago

Features

  • add a server metadata helper for checking PKCE support (ca34a91)
  • add JWKS Cache management for use in non-persistent runtimes (cda4b53)
node-openid-client - v6.0.0

Published by github-actions[bot] 12 days ago

⚠ BREAKING CHANGES

  • 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

node-openid-client - v6.0.0-beta.0

Published by panva 20 days ago

⚠ BREAKING CHANGES

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. v18.x is being tested in CI as well with the --experimental-global-webcrypto CLI flag.

(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

Link to docs and examples

node-openid-client - v5.7.0

Published by github-actions[bot] about 2 months ago

Features

Fixes

  • include DPoP Proof "htm" in requestResource if GET is defaulted to (23f7b49)
node-openid-client - v5.6.5

Published by github-actions[bot] 8 months ago

Refactor

  • avoid use of prototype attributes in keystore queries (#660) (47a549c)
node-openid-client - v5.6.4

Published by github-actions[bot] 10 months ago

Revert "fix: encode client_secret_basic - _ . ! ~ * ' ( ) characters"

This reverts commit 5a2ea80ef5e59ec0c03dbd97d82f551e24a9d348, even though it is the correct implementation some of the most widely used identity providers don't follow the specification.

node-openid-client - v5.6.3

Published by github-actions[bot] 10 months ago

Fixes

  • encode client_secret_basic - _ . ! ~ * ' ( ) characters (5a2ea80)
node-openid-client - v5.6.2

Published by github-actions[bot] 10 months ago

Refactor

Fixes

  • add explicit Accept-Encoding header to http requests (abcb564), closes #648
node-openid-client - v5.6.1

Published by github-actions[bot] about 1 year ago

Fixes

  • consistent space encoding in authorizationUrl (#627) (ad68223), closes #626
node-openid-client - v5.6.0

Published by github-actions[bot] about 1 year ago

Features

node-openid-client - v5.5.0

Published by github-actions[bot] about 1 year ago

Features

  • DPoP: remove experimental warning, DPoP is now RFC9449 (133a022)
node-openid-client - v5.4.3

Published by github-actions[bot] over 1 year ago

Fixes

  • handle empty client_secret with basic and post client auth (#610) (402c711), closes #609
node-openid-client - v5.4.2

Published by github-actions[bot] over 1 year ago

Fixes

node-openid-client -

Published by github-actions[bot] over 1 year ago

This release contains only code refactoring, dependency, or documentation updates. The release process now also uses provenance statements.

node-openid-client -

Published by panva over 1 year ago

Features

  • allow third party initiated login requests to trigger strategy (568709a), closes #510 #564
node-openid-client -

Published by panva over 1 year ago

Refactor

Fixes

  • regression introduced in v5.3.3 (4f6e847)
node-openid-client -

Published by panva almost 2 years ago

Fixes

  • passport: ignore static state and nonce passed to Strategy() (#556) (43daff3)
node-openid-client -

Published by panva almost 2 years ago

Fixes

  • typescript: requestResource returns a Promise (#546) (8bc9519), closes #488
node-openid-client -

Published by panva almost 2 years ago

Features

  • JARM is now a stable feature (10e3a37)
Package Rankings
Top 0.78% on Npmjs.org
Related Projects