[keycloak-user] How to get UserRepresentation by subject id

Dean Peterson peterson.dean at gmail.com
Sat Jan 31 23:00:28 EST 2015


I remember reading that the correct way to uniquely identify a keycloak
user is by the subject id.  That is what I associate with objects in my
application.  I need to get a UserRepresentation using the admin client by
that subject id.  However, the only option allowed is to use username.  Ex.
realm.users().get("username").  I need realm.users().get("subjectid").  Is
there a way to get UserRepresentation by subject?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150131/2dc82d4b/attachment.html 


More information about the keycloak-user mailing list