1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

feat(oauth): improve Azure OAuth support

This commit is contained in:
Anthony Lapenna 2019-02-20 13:53:25 +13:00
parent ce9e009e22
commit d510d23408
3 changed files with 5 additions and 3 deletions

View file

@ -7,7 +7,7 @@ angular.module('portainer.extensions.oauth')
authUrl: 'https://login.microsoftonline.com/TENANT_ID/oauth2/authorize',
accessTokenUrl: 'https://login.microsoftonline.com/TENANT_ID/oauth2/token',
resourceUrl: 'https://graph.windows.net/TENANT_ID/me?api-version=2013-11-08',
userIdentifier: 'mail',
userIdentifier: 'userPrincipalName',
scopes: 'id,email,name',
name: 'microsoft'
},