<div dir="ltr"><div><div>I finally made it work.<br><br></div>The problem I was having was that the provider was not taking the information from the access token because the provider I created in Keycloak B was not a "Keycloak OpenID Connect" provider, was just OpenID Connect, so It didnt try to get the info from the access token cause it does't have to be a jwt token.<br><br></div>Thank you<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-30 12:48 GMT-03:00 Bill Burke <span dir="ltr"><<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 9/30/2015 11:45 AM, Bill Burke wrote:<br>
> Or, you can use the Attribute Importer. You can reference the<br>
> testrole via "realm_access.roles.testrole" or<br>
> "resource_access.<app>.roles.testrole".<br>
><br>
<br>
</span>Actually, this won't work. You have to map testrole to a role in<br>
Keycloak B.<br>
<br>
<span class=""><br>
--<br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" rel="noreferrer" target="_blank">http://bill.burkecentral.com</a><br>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
</span><a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote></div><br></div>