# Only allow Sign in with Google/FB

**URL:** <https://forum.keycloak.org/t/only-allow-sign-in-with-google-fb/3581>\
**Category:** Getting advice\
**Created:** [July 1, 2020, 3:48pm UTC](https://forum.keycloak.org/t/only-allow-sign-in-with-google-fb/3581 "2020-07-01T15:48:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![haseemisaac](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/haseemisaac/32/1070_2.png) [@haseemisaac](https://forum.keycloak.org/u/haseemisaac)\
**Post date:** [July 1, 2020, 3:48pm UTC](https://forum.keycloak.org/t/only-allow-sign-in-with-google-fb/3581/1 "2020-07-01T15:48:37Z")

</div>

Hi,  
I want to be able to only allow users to signin with google and not register or login using email and password. Is this possible in keycloak?

Best,  
Haseem

---

<div class="post-metadata">

**Author:** ![aragon](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@aragon](https://forum.keycloak.org/u/aragon)\
**Post date:** [July 2, 2020, 10:19am UTC](https://forum.keycloak.org/t/only-allow-sign-in-with-google-fb/3581/2 "2020-07-02T10:19:43Z")

</div>

I think this is possible. You can do it by Creating an authentication configuration. To do that you need to go to Authentication section. There you can see a table in the Flows tab. Select the Action option for Identity Provider Redirector. Then configure it accordingly.
