[keycloak-dev] Getting UserModel from inside AdminConsole.getMainPage() ?
Stan Silvert
ssilvert at redhat.com
Fri Sep 11 10:48:20 EDT 2015
I need to get the current logged-in UserModel from inside this method:
https://github.com/keycloak/keycloak/blob/master/services/src/main/java/org/keycloak/services/resources/admin/AdminConsole.java#L266
I tried the same approach as the whoAmI() method, but
authManager.authenticateBearerToken() returns null. I guess the token
is not set up yet?
Any ideas on an alternate way to get UserModel?
Stan
More information about the keycloak-dev
mailing list