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.7 to 3.15.8

9

CHANGELOG.md

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

## [3.15.8](https://github.com/panva/node-openid-client/compare/v3.15.7...v3.15.8) (2020-07-17)
### Bug Fixes
* allow AAD appid including discovery URLs to be multi-tenant ([c27caab](https://github.com/panva/node-openid-client/commit/c27caab9b9df92b591c4f0491fd2ec346ff48988))
## [3.15.7](https://github.com/panva/node-openid-client/compare/v3.15.6...v3.15.7) (2020-07-16)

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

4

lib/helpers/consts.js

@@ -5,3 +5,3 @@ const OIDC_DISCOVERY = '/.well-known/openid-configuration';

const REL = 'http://openid.net/specs/connect/1.0/issuer';
const AAD_MULTITENANT_DISCOVERY = new Set([
const AAD_MULTITENANT_DISCOVERY = [
`https://login.microsoftonline.com/common${OIDC_DISCOVERY}`,

@@ -11,3 +11,3 @@ `https://login.microsoftonline.com/common/v2.0${OIDC_DISCOVERY}`,

`https://login.microsoftonline.com/consumers/v2.0${OIDC_DISCOVERY}`,
]);
];

@@ -14,0 +14,0 @@ const CLIENT_DEFAULTS = {

@@ -224,3 +224,3 @@ /* eslint-disable max-classes-per-file */

...body,
[AAD_MULTITENANT]: AAD_MULTITENANT_DISCOVERY.has(uri),
[AAD_MULTITENANT]: AAD_MULTITENANT_DISCOVERY.find((discoveryURL) => uri.startsWith(discoveryURL)),
});

@@ -252,3 +252,3 @@ }

...body,
[AAD_MULTITENANT]: AAD_MULTITENANT_DISCOVERY.has(wellKnownUri),
[AAD_MULTITENANT]: AAD_MULTITENANT_DISCOVERY.find((discoveryURL) => wellKnownUri.startsWith(discoveryURL)),
});

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

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