<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><br><div dir="ltr"><div><div><div>Thanks. I noticed some comments on that, changing usernames, etc in the dev mailing list. I couldn't quite see what the end results was (between the mailing list, jira, etc).<br><br></div><div>Is the preferredUsername going to change too? <br><br>Just wondered since I can register <a href="mailto:google.username@domain.com" target="_blank">google.username@domain.com</a> (as my username on keycloak's user inbuilt db). That overlaps with <a href="mailto:username@domain.com" target="_blank">username@domain.com</a> for a google provided account. Then the <a href="mailto:username@domain.com" target="_blank">username@domain.com</a> can't do social login through google. <br><br>It would be nice if all brokers (including the internal one prefixed an brokerid to avoid this),<br></div><div><br></div><div>C<span class="HOEnZb"><font color="#888888"><br><br></font></span></div></div></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div class="gmail_signature">C</div></div>
</font></span><div><div class="h5">
<br><div class="gmail_quote">On Mon, Jun 8, 2015 at 12:21 PM, Stian Thorgersen <span dir="ltr"><<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In the past we had a mix of lookup by username/name and id. To make it more consistent in 1.3 we're changing this to only allow lookup by id. 1.3 should be out next week.<br>
<div><div><br>
----- Original Message -----<br>
> From: "Chris Flatley" <<a href="mailto:chrisflatley@gmx.net" target="_blank">chrisflatley@gmx.net</a>><br>
> To: <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
> Sent: Monday, 8 June, 2015 1:16:50 PM<br>
> Subject: [keycloak-user] Get user by id<br>
><br>
> This is probably really obvious, but I can't find it.<br>
><br>
> I'm currently using the Admin REST API to find users by search.<br>
><br>
> I see that the Admin REST API has get user representation by username, but I<br>
> want to also find user info (UserRepresentation) given the id.<br>
><br>
> If this possible through REST?<br>
><br>
> (Use case being it makes more sense to me to store the user id in my database<br>
> as a reference back to keycloak rather than the username or replicate any of<br>
> the user info which keycloak has stored).<br>
><br>
> Many thanks (great product!)<br>
><br>
> C<br>
><br>
</div></div>> _______________________________________________<br>
> keycloak-user mailing list<br>
> <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>