It should be by-id, but currently it's only available by-username. Please create a
jira and we'll fix it.
----- Original Message -----
From: "Dean Peterson" <peterson.dean(a)gmail.com>
To: keycloak-user(a)lists.jboss.org
Sent: Sunday, 1 February, 2015 5:00:28 AM
Subject: [keycloak-user] How to get UserRepresentation by subject id
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?
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user