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.1.5 to 5.1.6

21

lib/device_flow_handle.js

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

const response = await authenticatedPost.call(
this.#client,
'token',
{
form: {
let tokenset;
try {
tokenset = await this.#client.grant(
{
...this.#exchangeBody,

@@ -74,10 +73,4 @@ grant_type: 'urn:ietf:params:oauth:grant-type:device_code',

},
responseType: 'json',
},
{ clientAssertionPayload: this.#clientAssertionPayload, DPoP: this.#DPoP },
);
let responseBody;
try {
responseBody = processResponse(response);
{ clientAssertionPayload: this.#clientAssertionPayload, DPoP: this.#DPoP },
);
} catch (err) {

@@ -94,4 +87,2 @@ switch (err instanceof OPError && err.error) {

const tokenset = new TokenSet(responseBody);
if ('id_token' in tokenset) {

@@ -98,0 +89,0 @@ await this.#client.decryptIdToken(tokenset);

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

@@ -33,7 +33,8 @@ "keywords": [

"exports": {
"types": "./types/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.js"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
"main": "./lib/index.js",
"types": "./types/index.d.ts",
"files": [

@@ -40,0 +41,0 @@ "lib",

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