Socket
Socket
Sign inDemoInstall

openid-client

Package Overview
Dependencies
Maintainers
1
Versions
181
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 5.0.0 to 5.0.1

18

lib/client.js

@@ -1359,7 +1359,10 @@ const { inspect } = require('util');

const response = await request.call(this, {
headers: initialAccessToken
? {
Authorization: authorizationHeaderValue(initialAccessToken),
}
: undefined,
headers: {
Accept: 'application/json',
...(initialAccessToken
? {
Authorization: authorizationHeaderValue(initialAccessToken),
}
: undefined),
},
responseType: 'json',

@@ -1384,3 +1387,6 @@ json: metadata,

responseType: 'json',
headers: { Authorization: authorizationHeaderValue(registrationAccessToken) },
headers: {
Authorization: authorizationHeaderValue(registrationAccessToken),
Accept: 'application/json',
},
});

@@ -1387,0 +1393,0 @@ const responseBody = processResponse(response, { bearer: true });

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

const request = require('./request');
const instance = require('./weak_cache');
const { keystores } = require('./weak_cache');

@@ -204,2 +203,10 @@ const merge = require('./merge');

url: targetUrl,
headers: {
...(endpoint !== 'revocation'
? {
Accept: 'application/json',
}
: undefined),
...requestOpts.headers,
},
},

@@ -206,0 +213,0 @@ { mTLS, DPoP },

@@ -40,2 +40,5 @@ const objectHash = require('object-hash');

url: this.jwks_uri,
headers: {
Accept: 'application/json',
},
})

@@ -42,0 +45,0 @@ .finally(() => {

@@ -93,2 +93,5 @@ const { inspect } = require('util');

searchParams: { resource, rel: 'http://openid.net/specs/connect/1.0/issuer' },
headers: {
Accept: 'application/json',
},
});

@@ -146,2 +149,5 @@ const body = processResponse(response);

url: uri,
headers: {
Accept: 'application/json',
},
});

@@ -171,2 +177,5 @@ const body = processResponse(response);

url: wellKnownUri,
headers: {
Accept: 'application/json',
},
});

@@ -173,0 +182,0 @@ const body = processResponse(response);

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