# Universal Login Page template weirdness

**URL:** <https://community.auth0.com/t/universal-login-page-template-weirdness/83231>\
**Category:** Get Help\
**Created:** [May 11, 2022, 5:05am UTC](https://community.auth0.com/t/universal-login-page-template-weirdness/83231 "2022-05-11T05:05:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![djasnowski](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/djasnowski/32/37166_2.png) [@djasnowski](https://community.auth0.com/u/djasnowski)\
**Post date:** [May 11, 2022, 5:05am UTC](https://community.auth0.com/t/universal-login-page-template-weirdness/83231/1 "2022-05-11T05:05:03Z")

</div>

Two questions about the Universal Login page. I was finally able to update the ULP via the API to use the Liquid syntax.

1. Can you use the Auth0 Dev keys with the social connection on a custom domain? Right now, when I try to login via Google – I am getting an `invalid request` with a

> “You may have pressed the back button, refreshed during login, opened too many login dialogs, or there is some issue with cookies, since we couldn’t find your session. Try logging in again from the application and if the problem persists please contact the administrator.”

However the `hostname` for this error is `TENANT.us.auth0.com` when it _should_ be `custom_domain.`… perhaps that’s the issue? The hostname is wrong? The `Application Login URI` is blank and I only have a localhost URL in the `Allowed callbacks` for context.

My `AUTH0_ISSUER_BASE_URL` in the `.env` file is `<CUSTOM DOMAIN>`.

Weird. I am at the `CUSTOM DOMAIN` screen from the `/api/auth/login` call back, I select the Google sign-up option and then I get the `Oops!, something went wrong` screen while redirecting me to the `TENTANT.us.auth0.com` url.

1. My ULP is working. For example, when I login, I get the Customized Login page because my checkbox is true. Then when I go to the consent screen, it’s obviously the template I updated via the API. Would the template for Login change to the one updated via the API if I unchecked the `Customize Login Page` pill checkbox in the `Login` tab?

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [May 11, 2022, 1:22pm UTC](https://community.auth0.com/t/universal-login-page-template-weirdness/83231/2 "2022-05-11T13:22:30Z")

</div>

Hi @djasnowski

For question 1, we need lots more detail. Can you post the exact error message, and a SANITIZED network trace from dev tools or similar?

Note that [tenant.us.auth0.com](http://tenant.us.auth0.com) and custom\_domain are both valid names for your tenant. So that may be a red herring.

For question 2:  
When you customize the login page that way, you are using Classic Universal Login for the login page only, and all other pages are using the New Universal Login experience.  
If you uncheck the customization, that will revert the login page to the new experience and you should see the one you updated via API.

There are a couple of features (such as additional signup fields) that still require classic, but if you are not using anything like that, it is preferable to do all customization through the new experience.

John

---

<div class="post-metadata">

**Author:** ![djasnowski](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/djasnowski/32/37166_2.png) [@djasnowski](https://community.auth0.com/u/djasnowski)\
**Post date:** [May 11, 2022, 2:26pm UTC](https://community.auth0.com/t/universal-login-page-template-weirdness/83231/3 "2022-05-11T14:26:52Z")

</div>

@john.gateley Glad to hear #2 is a simple fix. I was able to fix #1.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 12, 2022, 9:58am UTC](https://community.auth0.com/t/universal-login-page-template-weirdness/83231/4 "2022-05-12T09:58:55Z")

</div>

Teamwork makes the dreamwork! Thanks for help on this one John!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 28, 2022, 12:49pm UTC](https://community.auth0.com/t/universal-login-page-template-weirdness/83231/5 "2022-07-28T12:49:29Z")

</div>


