Skip to content

Commit

Permalink
fix: give AAD v1 common same treatment as v2 common
Browse files Browse the repository at this point in the history
closes #269
  • Loading branch information
panva committed Jun 15, 2020
1 parent 38a5828 commit 2344e00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/helpers/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const OAUTH2_DISCOVERY = '/.well-known/oauth-authorization-server';
const WEBFINGER = '/.well-known/webfinger';
const REL = 'http://openid.net/specs/connect/1.0/issuer';
const AAD_MULTITENANT_DISCOVERY = new Set([
`https://login.microsoftonline.com/common${OIDC_DISCOVERY}`,
`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}`,
Expand Down

0 comments on commit 2344e00

Please sign in to comment.