<div dir="ltr">I was wondering if it is somehow possible to map group memberships Google hosted domains into Keycloak (e.g. as roles into an idtoken)?<div><br></div><div>This would be great since we already have been using groups in Google to perform authorization in some apps so I know how to get them from the Google API. I am already using the social provider for authentication so I was wondering what SPI implementation or configuration/customization I&#39;d need to do in order to get this done.</div><div>Any pointers were to start would be very helpful. I am building Keycloak from github &quot;master&quot;.</div><div><br></div><div>Thanks</div><div><br></div><div>Thorsten</div></div>