<div dir="ltr"><div><div><div>Hi bruno,<br></div>I have a patched version of keycloak 1.7.0 and I don&#39;t know if the patch is portable to 2.0.0...<br></div>By the way, thanks a lot for this answer, I will test 2.0.0 ASAP to see if it solve.<br></div>BEst regards, Jérôme.<br></div><br><div class="gmail_quote"><div dir="ltr">Le jeu. 30 juin 2016 à 07:28, Bruno Oliveira &lt;<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>&gt; a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jérôme, is strongly encouraged to upgrade if you can. For example, I<br>
tested what you said against 2.0.0.CR1 and it worked here.<br>
<br>
On 2016-06-29, Jérôme Blanchard wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I use a Role Mapper on an Identity Provider but it&#39;s not working as<br>
&gt; expected :<br>
&gt; - If the account does not exists and Identity Provider Auth is used to<br>
&gt; create a new account, Role is applied to the newly created keycloak account.<br>
&gt; - But if an account already exists and that I use the Identity Provider<br>
&gt; Association, the Role is not applied to the already existing keycloak<br>
&gt; account and the mapper has no effect, leaving the account in a unconsistent<br>
&gt; state for me...<br>
&gt;<br>
&gt; Is it a normal behaviour, is it fixed in latest releases (I use 1.7.0) ??<br>
&gt;<br>
&gt; Thanks, Jérôme.<br>
<br>
&gt; _______________________________________________<br>
&gt; keycloak-user mailing list<br>
&gt; <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
<br>
<br>
--<br>
<br>
abstractj<br>
PGP: 0x84DC9914<br>
</blockquote></div>