Hi bruno,
I have a patched version of keycloak 1.7.0 and I don't know if the patch is portable to 2.0.0...
By the way, thanks a lot for this answer, I will test 2.0.0 ASAP to see if it solve.
BEst regards, Jérôme.

Le jeu. 30 juin 2016 à 07:28, Bruno Oliveira <bruno@abstractj.org> a écrit :
Hi Jérôme, is strongly encouraged to upgrade if you can. For example, I
tested what you said against 2.0.0.CR1 and it worked here.

On 2016-06-29, Jérôme Blanchard wrote:
> Hi,
>
> I use a Role Mapper on an Identity Provider but it's not working as
> expected :
> - If the account does not exists and Identity Provider Auth is used to
> create a new account, Role is applied to the newly created keycloak account.
> - But if an account already exists and that I use the Identity Provider
> Association, the Role is not applied to the already existing keycloak
> account and the mapper has no effect, leaving the account in a unconsistent
> state for me...
>
> Is it a normal behaviour, is it fixed in latest releases (I use 1.7.0) ??
>
> Thanks, Jérôme.

> _______________________________________________
> keycloak-user mailing list
> keycloak-user@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user


--

abstractj
PGP: 0x84DC9914