Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openid-client

Package Overview
Dependencies
Maintainers
1
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openid-client - npm Package Versions

23
20

6.1.4

Diff

Changelog

Source

6.1.4 (2024-11-22)

Documentation

  • resolve discovery customFetch jsdoc mentioning timeout (5f4cd1b)
panva
published 5.7.1 •

panva
published 6.1.3 •

Changelog

Source

6.1.3 (2024-10-23)

Documentation

  • remove note from issuer transformation algorithm (5fda2cb)

Fixes

  • deal with discovery issues from b2clogin.com (b9a4f2f), closes #718
panva
published 6.1.2 •

Changelog

Source

6.1.2 (2024-10-23)

Refactor

  • rename the parameters positional argument in authorizationCodeGrant() (c79ccc5), closes #712

Documentation

  • document behaviour of customFetch on discovery (072da62)
  • update Strategy.prototype.currentUrl JSDoc (46ea086), closes #714
panva
published 6.1.1 •

Changelog

Source

6.1.1 (2024-10-18)

Documentation

  • update link to passport example (110575b)

Fixes

  • correct supportsPKCE bool return (f1aa9db), closes #710
panva
published 6.1.0 •

Changelog

Source

6.1.0 (2024-10-17)

Features

  • add a server metadata helper for checking PKCE support (ca34a91)
  • add JWKS Cache management for use in non-persistent runtimes (cda4b53)
panva
published 6.0.0 •

Changelog

Source

6.0.0 (2024-10-15)

⚠ 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

Documentation

Refactor

panva
published 6.0.0-beta.2 •

panva
published 6.0.0-beta.1 •

panva
published 6.0.0-beta.0 •

23
20
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc