[keycloak-user] user-resource-role-mappings typo error in doco
Stian Thorgersen
stian at redhat.com
Mon Sep 8 04:25:25 EDT 2014
Fixed, thanks
----- Original Message -----
> From: "Travis De Silva" <traviskds at gmail.com>
> To: keycloak-user at lists.jboss.org
> Sent: Thursday, 4 September, 2014 4:43:26 AM
> Subject: [keycloak-user] user-resource-role-mappings typo error in doco
>
> Hi,
>
> As per the documentation here,
> http://docs.jboss.org/keycloak/docs/1.0-rc-2/userguide/html/ch07.html
>
> we can set "user-resource-role-mappings" : true, in the keycloak.json file,
> which will then make the adapter look inside the token for application level
> role mappings for the user.
>
> But when I add this, I get the following err.r
>
>
> Caused by: java.lang.RuntimeException:
> org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized
> field "user-resource-role-mappings" (Class
> org.keycloak.representations.adapters.config.AdapterConfig), not marked as
> ignorable
>
> I was able to track this down to the code in AdapterConfig in the
> org.keycloak.representations.adapters.config package. In there, it is
> defined as "use-resource-role-mappings"
>
> When I changed it to this it worked.
>
> I believe the doco has a typo that needs to be fixed.
>
> Cheers
>
>
> Travis
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
More information about the keycloak-user
mailing list