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 3.15.1 to 3.15.2

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Change Log

## [3.15.2](https://github.com/panva/node-openid-client/compare/v3.15.1...v3.15.2) (2020-06-01)
### Bug Fixes
* allow any JSON numeric value for timestamp values ([a24a759](https://github.com/panva/node-openid-client/commit/a24a7596c038bacd5bdbfc5b8678a96e62b86fd2)), closes [#263](https://github.com/panva/node-openid-client/issues/263)
## [3.15.1](https://github.com/panva/node-openid-client/compare/v3.15.0...v3.15.1) (2020-05-12)

@@ -7,0 +16,0 @@

16

lib/client.js

@@ -714,5 +714,5 @@ /* eslint-disable max-classes-per-file */

}
if (!Number.isInteger(payload.auth_time)) {
if (typeof payload.auth_time !== 'number') {
throw new RPError({
message: 'JWT auth_time claim must be a JSON number integer',
message: 'JWT auth_time claim must be a JSON numeric value',
jwt: idToken,

@@ -856,5 +856,5 @@ });

if (payload.iat !== undefined) {
if (!Number.isInteger(payload.iat)) {
if (typeof payload.iat !== 'number') {
throw new RPError({
message: 'JWT iat claim must be a JSON number integer',
message: 'JWT iat claim must be a JSON numeric value',
jwt,

@@ -866,5 +866,5 @@ });

if (payload.nbf !== undefined) {
if (!Number.isInteger(payload.nbf)) {
if (typeof payload.nbf !== 'number') {
throw new RPError({
message: 'JWT nbf claim must be a JSON number integer',
message: 'JWT nbf claim must be a JSON numeric value',
jwt,

@@ -885,5 +885,5 @@ });

if (payload.exp !== undefined) {
if (!Number.isInteger(payload.exp)) {
if (typeof payload.exp !== 'number') {
throw new RPError({
message: 'JWT exp claim must be a JSON number integer',
message: 'JWT exp claim must be a JSON numeric value',
jwt,

@@ -890,0 +890,0 @@ });

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

@@ -47,3 +47,3 @@ "keywords": [

"got": "^9.6.0",
"jose": "^1.25.2",
"jose": "^1.27.1",
"lodash": "^4.17.15",

@@ -50,0 +50,0 @@ "lru-cache": "^5.1.1",

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