Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
feat(baseConfig): added azure ad configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
doktordirk committed May 5, 2018
1 parent 9fa7eff commit 554da43
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/baseConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,18 @@ providers : {
oauthType: '2.0',
popupOptions: { width: 1028, height: 529 }
},
azure_ad: {
name: 'azure_ad',
url: '/auth/azure_ad',
authorizationEndpoint: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize',
redirectUri: window.location.origin,
logoutEndpoint: 'https://login.microsoftonline.com/common/oauth2/v2.0/logout',
postLogoutRedirectUri: window.location.origin,
requiredUrlParams: ['scope'],
scope: ['user.read'],
scopeDelimiter: ' ',
oauthType: '2.0'
},
auth0: {
name: 'auth0',
oauthType: 'auth0-lock',
Expand Down
12 changes: 12 additions & 0 deletions src/baseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,18 @@ export class BaseConfig {
oauthType : '2.0',
popupOptions : {width: 1028, height: 529}
},
azure_ad: {
name : 'azure_ad',
url : '/auth/azure_ad',
authorizationEndpoint: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize',
redirectUri : window.location.origin,
logoutEndpoint : 'https://login.microsoftonline.com/common/oauth2/v2.0/logout',
postLogoutRedirectUri: window.location.origin,
requiredUrlParams : ['scope'],
scope : ['user.read'],
scopeDelimiter : ' ',
oauthType : '2.0'
},
auth0: {
name : 'auth0',
oauthType : 'auth0-lock',
Expand Down

0 comments on commit 554da43

Please sign in to comment.