mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Updated AzureAD provider to use microsoft graph
Since AzureAD graph is going away. Tested using old AzureAD graph usage for backwards-compatbility, did not seem to break things. Could not test with conditional access though due to azure never enforcing it no matter what I attempted. Fpr #3028
This commit is contained in:
@ -281,9 +281,6 @@ class SocialAuthService
|
||||
if ($driverName === 'google' && config('services.google.select_account')) {
|
||||
$driver->with(['prompt' => 'select_account']);
|
||||
}
|
||||
if ($driverName === 'azure') {
|
||||
$driver->with(['resource' => 'https://graph.windows.net']);
|
||||
}
|
||||
|
||||
if (isset($this->configureForRedirectCallbacks[$driverName])) {
|
||||
$this->configureForRedirectCallbacks[$driverName]($driver);
|
||||
|
Reference in New Issue
Block a user