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.4 to 3.15.5

lib/helpers/merge.js

9

CHANGELOG.md

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

## [3.15.5](https://github.com/panva/node-openid-client/compare/v3.15.4...v3.15.5) (2020-06-26)
### Bug Fixes
* regression from [#272](https://github.com/panva/node-openid-client/issues/272) ([9bff960](https://github.com/panva/node-openid-client/commit/9bff960bda42fd8af7b8569f121ca35c7f4cfae4))
## [3.15.4](https://github.com/panva/node-openid-client/compare/v3.15.3...v3.15.4) (2020-06-26)

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

5

lib/client.js

@@ -1597,6 +1597,7 @@ /* eslint-disable max-classes-per-file */

let token = accessToken;
const opts = defaultsDeep({}, options, {
const opts = {
verb: 'GET',
via: 'header',
});
...options,
};

@@ -1603,0 +1604,0 @@ if (token instanceof TokenSet) {

4

lib/helpers/client.js

@@ -8,3 +8,3 @@ const jose = require('jose');

const instance = require('./weak_cache');
const { deep: defaultsDeep } = require('./defaults');
const merge = require('./merge');

@@ -129,3 +129,3 @@ const formUrlEncode = (value) => encodeURIComponent(value).replace(/%20/g, '+');

const auth = await authFor.call(this, endpointAuthMethod, { clientAssertionPayload });
const requestOpts = defaultsDeep({ form: true }, auth, opts);
const requestOpts = merge(opts, auth, { form: true });

@@ -132,0 +132,0 @@ const mTLS = this[`${endpointAuthMethod}_endpoint_auth_method`].includes('tls_client_auth')

{
"name": "openid-client",
"version": "3.15.4",
"version": "3.15.5",
"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