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
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openid-client - npm Package Compare versions

Comparing version 4.4.2 to 4.5.0

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [4.5.0](https://github.com/panva/node-openid-client/compare/v4.4.2...v4.5.0) (2021-03-10)
### Features
* include `nbf` in FAPIClient Request Objects ([0be56ba](https://github.com/panva/node-openid-client/commit/0be56ba5622e0062495965f55285438542da614e))
## [4.4.2](https://github.com/panva/node-openid-client/compare/v4.4.1...v4.4.2) (2021-03-07)

@@ -7,0 +14,0 @@

7

lib/client.js

@@ -1490,2 +1490,4 @@ /* eslint-disable max-classes-per-file */

const fapi = this.constructor.name === 'FAPIClient';
const unix = now();
const header = { alg: signingAlgorithm, typ: 'oauth-authz-req+jwt' };

@@ -1497,4 +1499,5 @@ const payload = JSON.stringify(defaults({}, requestObject, {

jti: random(),
iat: now(),
exp: now() + 300,
iat: unix,
exp: unix + 300,
...(fapi ? { nbf: unix } : undefined),
}));

@@ -1501,0 +1504,0 @@

{
"name": "openid-client",
"version": "4.4.2",
"version": "4.5.0",
"description": "OpenID Connect Relying Party (RP, Client) implementation for Node.js runtime, supports passportjs",

@@ -5,0 +5,0 @@ "keywords": [

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