openid-client
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -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 @@ |
@@ -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 = { |
@@ -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/ |
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
106734
2016