openid-client
Advanced tools
Comparing version 3.15.4 to 3.15.5
@@ -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 @@ |
@@ -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) { |
@@ -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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
164358
28
3195