X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ac110eb6b2df1a30628e9800a60e1357f474fa1f..refs/pull/3373/head:/app/Auth/Access/LoginService.php diff --git a/app/Auth/Access/LoginService.php b/app/Auth/Access/LoginService.php index e02296b37..f41570417 100644 --- a/app/Auth/Access/LoginService.php +++ b/app/Auth/Access/LoginService.php @@ -47,7 +47,7 @@ class LoginService // Authenticate on all session guards if a likely admin if ($user->can('users-manage') && $user->can('user-roles-manage')) { - $guards = ['standard', 'ldap', 'saml2']; + $guards = ['standard', 'ldap', 'saml2', 'oidc']; foreach ($guards as $guard) { auth($guard)->login($user); }