I suggest to take a look at latest Rest API docs
http://keycloak.github.io/docs/rest-api/overview-index.html . 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).
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.
Marek
On 16/10/15 14:30, Edem Morny wrote:
Hi,
I'm having issues migrating my application from keycloak 1.2.1.Final
to 1.5.1.Final.
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.
Do you have any idea what has changed?
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user