# allowLogin in hosted page just for Social connection

**URL:** <https://community.auth0.com/t/allowlogin-in-hosted-page-just-for-social-connection/9061>\
**Category:** Get Help\
**Tags:** social-connection, hosted-login-page\
**Created:** [December 26, 2017, 3:22am UTC](https://community.auth0.com/t/allowlogin-in-hosted-page-just-for-social-connection/9061 "2017-12-26T03:22:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fpnipo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fpnipo/32/3851_2.png) [@fpnipo](https://community.auth0.com/u/fpnipo)\
**Post date:** [December 26, 2017, 3:22am UTC](https://community.auth0.com/t/allowlogin-in-hosted-page-just-for-social-connection/9061/1 "2017-12-26T03:22:10Z")

</div>

Is it possible to configure the web Lock hosted page to just show login for Social Connection and don’t show the username and password fields?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [December 26, 2017, 5:15pm UTC](https://community.auth0.com/t/allowlogin-in-hosted-page-just-for-social-connection/9061/2 "2017-12-26T17:15:30Z")

</div>

Yes, by default the Lock instance used in the hosted login page (HLP) will only show the connections enabled for the client application that initiated the request so if you have a client application that only wants to support social connections then you should not enable any database (username/password) connection in the client settings.

If you are in the situation that the client application needs to support a database connection, but you just don’t want to show it in the HLP then you can can customize it and set the `allowedConnections` options. For example:

```
allowedConnections: 'twitter', 'facebook', 'linkedin']

```

The above would result in Lock only showing the listed connections even if there were more connections enabled for the client application.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/allowlogin-in-hosted-page-just-for-social-connection/9061/3 "2018-03-02T05:57:56Z")

</div>


