# Is it possible to have some of my apps support passwordless and the others not with the universal login page using Lock?

**URL:** <https://community.auth0.com/t/is-it-possible-to-have-some-of-my-apps-support-passwordless-and-the-others-not-with-the-universal-login-page-using-lock/24596>\
**Category:** Get Help\
**Created:** [April 29, 2019, 8:28pm UTC](https://community.auth0.com/t/is-it-possible-to-have-some-of-my-apps-support-passwordless-and-the-others-not-with-the-universal-login-page-using-lock/24596 "2019-04-29T20:28:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saltuk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saltuk/32/14364_2.png) [@Saltuk](https://community.auth0.com/u/Saltuk)\
**Post date:** [April 29, 2019, 8:28pm UTC](https://community.auth0.com/t/is-it-possible-to-have-some-of-my-apps-support-passwordless-and-the-others-not-with-the-universal-login-page-using-lock/24596/1 "2019-04-29T20:28:29Z")

</div>

I have a bunch of applications and I want to enable passwordless only in some of them and the others will be using the regular database connections. I can select the connections for the applications from the dashboard but how can I set this up in the universal login page with Lock?

---

<div class="post-metadata">

**Author:** ![Saltuk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saltuk/32/14364_2.png) [@Saltuk](https://community.auth0.com/u/Saltuk)\
**Post date:** [April 29, 2019, 8:29pm UTC](https://community.auth0.com/t/is-it-possible-to-have-some-of-my-apps-support-passwordless-and-the-others-not-with-the-universal-login-page-using-lock/24596/2 "2019-04-29T20:29:57Z")

</div>

[This link](https://gist.github.com/saltukalakus/a27124503e517cd5a6ef5cd9eb98e216#file-auth0_lock_universal-html-L42) has a sample snippet for how this can be implemented. The idea is to branch the code into two with a conditional logic using the **config.clientID.** This allows to use both **Auth0LockPasswordless** and **Auth0Lock** in the same hosted page.

---

<div class="post-metadata">

**Author:** ![mrkevlew](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mrkevlew/32/12785_2.png) [@mrkevlew](https://community.auth0.com/u/mrkevlew)\
**Post date:** [April 29, 2019, 10:33pm UTC](https://community.auth0.com/t/is-it-possible-to-have-some-of-my-apps-support-passwordless-and-the-others-not-with-the-universal-login-page-using-lock/24596/3 "2019-04-29T22:33:23Z")

</div>

> [@Saltuk](#):
>
> > Auth0LockPasswordless and Auth0Lock in the same hosted page.

is it possible to have both options on a single site? We are thinking of moving away from passwordless because our mobile app does not have auth0 for logging…regular username/password

---

<div class="post-metadata">

**Author:** ![Saltuk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saltuk/32/14364_2.png) [@Saltuk](https://community.auth0.com/u/Saltuk)\
**Post date:** [April 29, 2019, 10:50pm UTC](https://community.auth0.com/t/is-it-possible-to-have-some-of-my-apps-support-passwordless-and-the-others-not-with-the-universal-login-page-using-lock/24596/4 "2019-04-29T22:50:09Z")

</div>

Could you expand the use case a little bit more? I understand that you would like to have passwordless and regular database on the same login page. But I’m not sure about the reason. Perhaps I can offer a better a solution if I can understand the use case.

---

<div class="post-metadata">

**Author:** ![mrkevlew](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mrkevlew/32/12785_2.png) [@mrkevlew](https://community.auth0.com/u/mrkevlew)\
**Post date:** [April 30, 2019, 12:46am UTC](https://community.auth0.com/t/is-it-possible-to-have-some-of-my-apps-support-passwordless-and-the-others-not-with-the-universal-login-page-using-lock/24596/5 "2019-04-30T00:46:11Z")

</div>

We have legacy users that are using password standard login on our site on our database. We implemented passwordless option but some didn’t use it. Additionally we have a mobile app that we cannot get any help to integrate auth0 passwordless to use so we need to keep the password option. Optimally we want to use one option only.

---

<div class="post-metadata">

**Author:** ![Saltuk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saltuk/32/14364_2.png) [@Saltuk](https://community.auth0.com/u/Saltuk)\
**Post date:** [April 30, 2019, 10:10pm UTC](https://community.auth0.com/t/is-it-possible-to-have-some-of-my-apps-support-passwordless-and-the-others-not-with-the-universal-login-page-using-lock/24596/6 "2019-04-30T22:10:47Z")

</div>

> We have legacy users that are using password standard login on our site on our database.

Is the regular user/password implemented with Auth0 or is it a different login system? I would like to give an answer assuming you will want to use Auth0 both for the regular login and the passwordless login.

Currently, [Lock widget](https://auth0.com/lock) doesn’t support passwordless and regular DB together. But, it is possible to implement regular login and passwordless using Auth0.js. Here is [one sample](https://github.com/vikasjayaram/auth0-samples/blob/master/auth0-hosted-pwdless-pwd/index.html) from one of my colleague. Basic idea is to implement a custom [universal login page](https://auth0.com/docs/universal-login) which should work both for your site and the mobile application. Note that the sample hosted page is implemented with Auth0.js v8. Though it should work, you may want to migrate it to v9. Migration documentation can be found [here](https://auth0.com/docs/libraries/auth0js/v9/migration-v8-v9).

---

<div class="post-metadata">

**Author:** ![mrkevlew](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mrkevlew/32/12785_2.png) [@mrkevlew](https://community.auth0.com/u/mrkevlew)\
**Post date:** [April 30, 2019, 10:35pm UTC](https://community.auth0.com/t/is-it-possible-to-have-some-of-my-apps-support-passwordless-and-the-others-not-with-the-universal-login-page-using-lock/24596/7 "2019-04-30T22:35:06Z")

</div>

Appreciate the feedback. Let me try to understand what is stated. I am by far not that up on this information.

---

<div class="post-metadata">

**Author:** ![mrkevlew](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mrkevlew/32/12785_2.png) [@mrkevlew](https://community.auth0.com/u/mrkevlew)\
**Post date:** [April 30, 2019, 11:01pm UTC](https://community.auth0.com/t/is-it-possible-to-have-some-of-my-apps-support-passwordless-and-the-others-not-with-the-universal-login-page-using-lock/24596/8 "2019-04-30T23:01:56Z")

</div>

> [@Saltuk](#):
>
> Is the regular user/password implemented with Auth0 or is it a different login system? I would like to give an answer assuming you will want to use Auth0 both for the regular login and the passwordless login.
> 
> Currently, [Lock widget](https://auth0.com/lock) doesn’t support passwordless and regular DB together. But, it is possible to implement regular login and passwordless using [Auth0.js](https://auth0.com/docs/libraries/auth0js/). Here is [one sample](https://github.com/vikasjayaram/auth0-samples/blob/master/auth0-hosted-pwdless-pwd/index.html) from one of my colleague. Basic idea is to implement a custom [universal login page](https://auth0.com/docs/universal-login) which should work both for your site and the mobile application. Note that the sample hosted page is implemented with [Auth0.js](https://auth0.com/docs/libraries/auth0js/) v8. Though it should work, you may want to migrate it to v9. Migration documentation can be found [here](https://auth0.com/docs/libraries/auth0js/v9/migration-v8-v9).

We are using our wordpress system for login/registration with password. We should have migrate users to auth0 when logging in enabled.

---

<div class="post-metadata">

**Author:** ![Saltuk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saltuk/32/14364_2.png) [@Saltuk](https://community.auth0.com/u/Saltuk)\
**Post date:** [May 15, 2019, 11:01pm UTC](https://community.auth0.com/t/is-it-possible-to-have-some-of-my-apps-support-passwordless-and-the-others-not-with-the-universal-login-page-using-lock/24596/9 "2019-05-15T23:01:57Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
