# Creating custom login based on application

**URL:** <https://community.auth0.com/t/creating-custom-login-based-on-application/68975>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [September 2, 2021, 3:54am UTC](https://community.auth0.com/t/creating-custom-login-based-on-application/68975 "2021-09-02T03:54:18Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 16, 2021, 11:19pm UTC](https://community.auth0.com/t/creating-custom-login-based-on-application/68975/3 "2021-09-16T23:19:35Z")

</div>

Hi @mail4mithu,

I understand that you have a question regarding custom Login pages based on Applications.

Yes, it is possible to render a different Universal Login Page based on the application. To do so, I recommend modifying your Universal Login Page to conditionally render the Universal Login Page based on the **clientId**.

Here is a small snippet to get you started.

```auto
if(config.clientID === "{CLIENT_ID_GOES_HERE}") {
  var lock = new Auth0Lock(...)
}
else
  var lock = new Auth0Lock(...)
}

```

Additionally, you may find this related Community Topic relevant: [Passwordless and Universal Login at the same time](https://community.auth0.com/t/passwordless-and-universal-login-at-the-same-time/45465/2)

Please let me know if you have any questions. I would be happy to clarify.

---

_[View the full topic](https://community.auth0.com/t/creating-custom-login-based-on-application/68975)._
