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 3.2.1 to 3.2.2

9

CHANGELOG.md

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

## [3.2.2](https://github.com/panva/node-openid-client/compare/v3.2.1...v3.2.2) (2019-07-12)
### Bug Fixes
* give AAD v2 organizations and consumers same treatment as common ([4891b5b](https://github.com/panva/node-openid-client/commit/4891b5b)), closes [#175](https://github.com/panva/node-openid-client/issues/175)
## [3.2.1](https://github.com/panva/node-openid-client/compare/v3.2.0...v3.2.1) (2019-07-10)

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

6

lib/helpers/consts.js

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

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

@@ -8,0 +12,0 @@ const CLIENT_DEFAULTS = {

4

lib/issuer.js

@@ -218,3 +218,3 @@ const { inspect } = require('util');

body,
{ [AAD_MULTITENANT]: uri === AAD_MULTITENANT_DISCOVERY },
{ [AAD_MULTITENANT]: AAD_MULTITENANT_DISCOVERY.has(uri) },
));

@@ -247,3 +247,3 @@ }

body,
{ [AAD_MULTITENANT]: wellKnownUri === AAD_MULTITENANT_DISCOVERY },
{ [AAD_MULTITENANT]: AAD_MULTITENANT_DISCOVERY.has(wellKnownUri) },
));

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

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

@@ -5,0 +5,0 @@ "keywords": [

@@ -251,3 +251,3 @@ # openid-client

[conformance-url]: https://github.com/panva/openid-client-conformance-tests
[codecov-image]: https://codecov.io/gh/panva/node-openid-client/branch/master/graph/badge.svg
[codecov-image]: https://img.shields.io/codecov/c/github/panva/node-openid-client/master.svg
[codecov-url]: https://codecov.io/gh/panva/node-openid-client

@@ -254,0 +254,0 @@ [openid-connect]: https://openid.net/connect/

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