From dfb66c80f0e09bbcd83dfb853b893ecb7d9e374e Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 16 Jan 2019 11:38:02 +0100 Subject: [PATCH] Fix keycloak login see BT#15160 --- plugin/keycloak/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/keycloak/start.php b/plugin/keycloak/start.php index f1adadafe9..dbdd3ad235 100644 --- a/plugin/keycloak/start.php +++ b/plugin/keycloak/start.php @@ -92,7 +92,7 @@ if (isset($_GET['sso'])) { exit; } - $keyCloackUserName = Session::read('samlNameId'); + $keyCloackUserName = $auth->getNameId(); $userInfo = api_get_user_info_from_username($keyCloackUserName); $attributes = $auth->getAttributes();