mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-10-29 16:09:29 +03: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:
		| @@ -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; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user