<div dir="ltr">Ok thanks, well do that and revert back<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 31, 2016 at 11:34 AM, Stian Thorgersen <span dir="ltr"><<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There's been a number of fixes around caching since 1.9.0.Final. We no longer provide support for 1.9.0.Final, please upgrade to 2.1.0.Final and see if your issues are resolved.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 31 August 2016 at 07:43, Padmaka Wijayagoonawardena <span dir="ltr"><<a href="mailto:padmaka.jw@gmail.com" target="_blank">padmaka.jw@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br><div><div>I'm using Keycloak 1.9.0.Final and mysql as the DB. I have written a custom social identity provider. This social identity provider uses a custom user attribute mapper that i have written. The user attribute mapper will map a custom attribute coming from the openId connect userinfo endpoint to a Keycloak role. I have overridden the updateBrokeredUser method in the AbstractJsonUserAttributeMappe<wbr>r class to update the brokered user when the user logs in using the social identity provider.</div><div><br></div><div>The complete flow works well, however it seems like there is a caching issue. I update the user role via the updateBrokeredMethod but it does not get reflected in the user roles immediately.</div><div>However, when I update the cache it works fine.</div></div><div><br></div><div>Thanks,</div><div>Padmaka</div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div><br></div>