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

feat(oauth): update OAuth UX

This commit is contained in:
Anthony Lapenna 2019-02-17 17:01:36 +13:00
parent 17cf374c30
commit 78e2aaf7d4
3 changed files with 9 additions and 2 deletions

View file

@ -4,6 +4,9 @@ angular.module('portainer.extensions.oauth')
this.providers = [
{
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',
scope: 'id,email,name',
name: 'microsoft'