<div dir="ltr">Hi,<div><br></div><div>I have created the below JIRA ticket for the above. Would be a great to have feature in a coming release.</div><div><a href="https://issues.jboss.org/browse/KEYCLOAK-2268">https://issues.jboss.org/browse/KEYCLOAK-2268</a><br></div><div><br></div><div>Regards,</div><div>Malmi Samarasinghe</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 5, 2016 at 8:47 PM, Bill Burke <span dir="ltr"><<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You want a better REST API that takes one document and sets up<br>
everything? Log a jira and spec it out. I think this is something we<br>
should improve. I know there's been a lot of talk about improving user<br>
import.<br>
<div><div class="h5"><br>
On 1/5/2016 6:47 AM, Malmi Samarasinghe wrote:<br>
> Hi All,<br>
><br>
> I am currently working on registering a user with user realm role and<br>
> client role assignment.<br>
><br>
> Steps followed<br>
> 1/ create user (retrieve the user ID from Location header)<br>
> 2/ get user details<br>
> 3/ update password<br>
> 4/ create realm role<br>
> 5/ retrieve all realm roles and filter the ones which needs to be<br>
> assigned (since the assignment of roles requires the role ID)<br>
> 6/ assign realm role<br>
> 7/ same for the application roles as well, which also has multiple<br>
> iterations for each client<br>
><br>
> With all the API calls the user registration seems to have 8+ API calls<br>
> and I would like to know if there are any other alternatives/suggestions<br>
> to get the user registration flow working more efficiently.<br>
><br>
> Is there any plan to give a consolidated user registration API in the<br>
> future?<br>
><br>
> Regards,<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> keycloak-user mailing list<br>
> <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" rel="noreferrer" target="_blank">http://bill.burkecentral.com</a><br>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</font></span></blockquote></div><br></div>