fix: vereenvoudig Microsoft OAuth scopes tot enkel consented rechten (User.Read Calendars.Read offline_access)
This commit is contained in:
@@ -10,7 +10,7 @@ require_once __DIR__ . '/../../config/database.php';
|
|||||||
const MS_OAUTH_AUTHORIZE_URL = 'https://login.microsoftonline.com/%s/oauth2/v2.0/authorize';
|
const MS_OAUTH_AUTHORIZE_URL = 'https://login.microsoftonline.com/%s/oauth2/v2.0/authorize';
|
||||||
const MS_OAUTH_TOKEN_URL = 'https://login.microsoftonline.com/%s/oauth2/v2.0/token';
|
const MS_OAUTH_TOKEN_URL = 'https://login.microsoftonline.com/%s/oauth2/v2.0/token';
|
||||||
const MS_GRAPH_BASE_URL = 'https://graph.microsoft.com/v1.0';
|
const MS_GRAPH_BASE_URL = 'https://graph.microsoft.com/v1.0';
|
||||||
const MS_DEFAULT_SCOPES = 'offline_access openid profile email User.Read Calendars.Read';
|
const MS_DEFAULT_SCOPES = 'offline_access User.Read Calendars.Read';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Genereert de Microsoft OAuth2 login URL
|
* Genereert de Microsoft OAuth2 login URL
|
||||||
|
|||||||
Reference in New Issue
Block a user