diff --git a/plugin/keycloak/start.php b/plugin/keycloak/start.php index 629f9394f14..4aff05fcd26 100644 --- a/plugin/keycloak/start.php +++ b/plugin/keycloak/start.php @@ -118,6 +118,7 @@ '', 'keycloak' ); + $userInfo = api_get_user_info($userId); } else { // Only load users that were created using this method. if ($userInfo['auth_source'] === 'keycloak') {