[keycloak-user] Unable to Add Role Mappings Via REST API in 1.5.1
mstrukel at redhat.com
Tue Oct 20 11:38:00 EDT 2015
The proper link to REST API docs is:
On Tue, Oct 20, 2015 at 3:32 PM, Marek Posolda <mposolda at redhat.com> wrote:
> 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.
> On 16/10/15 14:30, Edem Morny wrote:
> I'm having issues migrating my application from keycloak 1.2.1.Final to
> 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 listkeycloak-user at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/keycloak-user
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the keycloak-user