[keycloak-user] Unable to Add Role Mappings Via REST API in 1.5.1

Marko Strukelj mstrukel at redhat.com
Tue Oct 20 11:38:00 EDT 2015


The proper link to REST API docs is:
http://keycloak.github.io/docs/rest-api/index.html


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.
>
> 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 listkeycloak-user at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151020/b26f86cf/attachment.html 


More information about the keycloak-user mailing list