From c72ceadfce763b21804eb920cd75485beeee9d63 Mon Sep 17 00:00:00 2001 From: l-robinson Date: Thu, 1 Dec 2016 17:17:57 +1030 Subject: [PATCH] KEYCLOAK-4004 Pass the client name in the ReferrerBean instead of the referrer parameter --- .../java/org/keycloak/services/resources/AccountService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/src/main/java/org/keycloak/services/resources/AccountService.java b/services/src/main/java/org/keycloak/services/resources/AccountService.java index 7a5064446e..90080ebc48 100755 --- a/services/src/main/java/org/keycloak/services/resources/AccountService.java +++ b/services/src/main/java/org/keycloak/services/resources/AccountService.java @@ -788,7 +788,7 @@ public class AccountService extends AbstractSecuredLocalService { } if (referrerUri != null) { - return new String[]{referrer, referrerUri}; + return new String[]{referrerClient.getName(), referrerUri}; } } else if (referrerUri != null) { referrerClient = realm.getClientByClientId(referrer);