mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Fixed 'interaction_required' response for azure
Azure Conditional Access policy 2FA returns 'interaction_required' 400 response https://github.com/SocialiteProviders/Providers/issues/208
This commit is contained in:
parent
33ef1cd4fa
commit
c1fe81466f
@ -233,6 +233,9 @@ class SocialAuthService
|
|||||||
if ($driverName === 'google' && config('services.google.select_account')) {
|
if ($driverName === 'google' && config('services.google.select_account')) {
|
||||||
$driver->with(['prompt' => 'select_account']);
|
$driver->with(['prompt' => 'select_account']);
|
||||||
}
|
}
|
||||||
|
if ($driverName === 'azure') {
|
||||||
|
$driver->with(['resource' => 'https://graph.windows.net']);
|
||||||
|
}
|
||||||
|
|
||||||
return $driver;
|
return $driver;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user