We don't currently have support for this. However, it would be a nice addition and you're not the first person to ask.

Google provides an hd query parameter that allows specifying the domain. However, it also needs to be verified on the server side in the callback.

On 9 February 2016 at 02:18, Jesse Chahal <jessec@dnbcloud.com> wrote:
Hi,

So I've been experimented with the social login, mostly the google one, and am trying to figure out how to allow whitelisting of domains for people using google apps for business. I think it is common practice to use social login for companies if they are using services from said provider. Is there a way to limit google's social login to only those who are using email's from specific domains? If not would be the best way for me to go around implementing this? 

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