<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I suggest to take a look at latest Rest
API docs
<a class="moz-txt-link-freetext" href="http://keycloak.github.io/docs/rest-api/overview-index.html">http://keycloak.github.io/docs/rest-api/overview-index.html</a> . It
might also help to add role mappings in admin console and see
which REST request admin console invoked and what the format is
now (use tool like Firebug in FF or similar).<br>
<br>
Maybe in 1.2.1 we didn't reference users in REST endpoint by id,
but by username. So that might be the change, I can't recall TBH.<br>
<br>
Marek<br>
<br>
On 16/10/15 14:30, Edem Morny wrote:<br>
</div>
<blockquote cite="mid:1444998614.3644.5.camel@localhost.localdomain"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="GENERATOR" content="GtkHTML/4.6.6">
Hi,<br>
<br>
I'm having issues migrating my application from keycloak
1.2.1.Final to 1.5.1.Final.<br>
<br>
I already had working code that enables us to create users and
assign role mappings to those users via the REST api. However,
whiles testing the application for migrating to 1.5.1, I get a 404
when application attempts to add rolemappings to users via the
REST api. The REST invocation to create the user actually works,
its the subsequent invocation to add role-mappings that fails with
the 404.<br>
<br>
Do you have any idea what has changed? <br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</body>
</html>