# Login with FB, google and apple only

**URL:** https://meta.discourse.org/t/login-with-fb-google-and-apple-only/178600
**Category:** Support
**Created:** [February 5, 2021, 9:35pm UTC](https://meta.discourse.org/t/login-with-fb-google-and-apple-only/178600 "2021-02-05T21:35:10Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [February 5, 2021, 9:50pm UTC](https://meta.discourse.org/t/login-with-fb-google-and-apple-only/178600/2 "2021-02-05T21:50:24Z")

</div>

> [@kforr](#):
>
> (I don’t want to allow people register with email address)  
> 1st question is if this is possible?

Yep, you need to disable the `enable local logins` site setting

> [@kforr](#):
>
> 2nd question is: if I only want facebook, google and apple ID, which one should I follow?

You should follow the Facebook, Google and Apple instructions

> [@kforr](#):
>
> 3rd question is: if I want to open up registration using email address in the future, is it ok? and what should I do?

Yes, you can just turn `enable local logins` back on

> [@kforr](#):
>
> How can Discourse read my database?

If you want authentication to happen on your own site, you need to choose a protocol to use. The most common is OAuth2 or OpenID Connect. You could also use [Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/discourseconnect-official-single-sign-on-for-discourse-sso/13045). This will all require significant development work on your app to get things working.

---

_[View the full topic](https://meta.discourse.org/t/login-with-fb-google-and-apple-only/178600)._
