Permalink
Browse files

feat(baseConfig): added azure ad configuration

  • Loading branch information...
doktordirk committed May 2, 2018
1 parent 9fa7eff commit 554da4304e8b59bb8b52e4f8dc53eeab458335bf
Showing with 24 additions and 0 deletions.
  1. +12 −0 doc/baseConfig.md
  2. +12 −0 src/baseConfig.js
@@ -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',
@@ -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',

0 comments on commit 554da43

Please sign in to comment.