KEYCLOAK-4004 Pass the client name in the ReferrerBean instead of the referrer parameter

This commit is contained in:
l-robinson 2016-12-01 17:17:57 +10:30
parent 1e7f1b1e54
commit c72ceadfce

View file

@ -788,7 +788,7 @@ public class AccountService extends AbstractSecuredLocalService {
} }
if (referrerUri != null) { if (referrerUri != null) {
return new String[]{referrer, referrerUri}; return new String[]{referrerClient.getName(), referrerUri};
} }
} else if (referrerUri != null) { } else if (referrerUri != null) {
referrerClient = realm.getClientByClientId(referrer); referrerClient = realm.getClientByClientId(referrer);