# Universal login not reflecting on all applications

**URL:** <https://community.auth0.com/t/universal-login-not-reflecting-on-all-applications/72921>\
**Category:** Get Help\
**Tags:** hooks, auth0, universal-login\
**Created:** [November 10, 2021, 2:48pm UTC](https://community.auth0.com/t/universal-login-not-reflecting-on-all-applications/72921 "2021-11-10T14:48:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgopalakrishnan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgopalakrishnan/32/21450_2.png) [@sgopalakrishnan](https://community.auth0.com/u/sgopalakrishnan)\
**Post date:** [November 10, 2021, 2:48pm UTC](https://community.auth0.com/t/universal-login-not-reflecting-on-all-applications/72921/1 "2021-11-10T14:48:10Z")

</div>

The issue is we have two applications under one tenant and we have a custom universal login  
But the custom universal login is not reflected in one of the application (machine to machine)  
In custom login we have added a field and this is used in pre-registration hook.  
The pre-reg hooks throws error in machine to machine application as it has vanilla universal login  
So we were thinking if there was any way to execute hook only for one application  
Or if we can have the universal login sync in both applications would be great  
Have any of you faced this issue before? Do you know what might be causing the issue?

---

<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:** [November 11, 2021, 2:03am UTC](https://community.auth0.com/t/universal-login-not-reflecting-on-all-applications/72921/2 "2021-11-11T02:03:12Z")

</div>

Hi @sgopalakrishnan,

Welcome to the Auth0 Community!

I understand that you are encountering issues with the Universal Login page.

First, could you please clarify what happens when your M2M application tries to log in? Does it see the Universal Login Page? If not, what page does it render?

> [@sgopalakrishnan](#):
>
> So we were thinking if there was any way to execute hook only for one application

Unfortunately, there does not seem to be any way to query the `context.clientID` with Hooks. Instead I recommend that you convert your hook into a [Pre-User Registration Action](https://auth0.com/docs/actions/triggers/pre-user-registration) and obtain the `event.client.client_id` to execute your logic specifically for one application.

You might find our [Pre-Registration Action Event Object](https://auth0.com/docs/actions/triggers/pre-user-registration/event-object) helpful.

> [@sgopalakrishnan](#):
>
> Or if we can have the universal login sync in both applications would be great

By default, the Universal Login Page should be the same for all your applications. Would you be able to elaborate whether you have modified your Universal Login Page or whether you are using the default Lock template?

Thank you.

---

<div class="post-metadata">

**Author:** ![sgopalakrishnan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgopalakrishnan/32/21450_2.png) [@sgopalakrishnan](https://community.auth0.com/u/sgopalakrishnan)\
**Post date:** [November 11, 2021, 6:49am UTC](https://community.auth0.com/t/universal-login-not-reflecting-on-all-applications/72921/4 "2021-11-11T06:49:39Z")

</div>

Hey Rueben, thank you for the quick response.

Ok so if syncing of Universal login does not work will try to use actions (But i dont see actions in my nav list, have updated the tenant to use the latest version of nodejs, should i reach out to Auth0 to enable actions?)

For M2M when we reach the login page, i can see the vanilla screen for user registration, email and password. We have added custom filed which is available in SPA but not in M2M.

Much appreciated 🙂

---

<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:** [November 15, 2021, 8:46pm UTC](https://community.auth0.com/t/universal-login-not-reflecting-on-all-applications/72921/5 "2021-11-15T20:46:42Z")

</div>

Hi @sgopalakrishnan,

Thank you for your response.

Firstly, I believe you have Actions as an available feature. Could you please confirm if you see the Actions menu in the Auth0 Dashboard? See below.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/3/6/368cdfaf21d5b68f16a2546e51bc9d2044579e53.png)

After testing the Universal Login Page, I managed to see the additional sign-up fields on the sign-up page of my M2M application. See below.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/8/3/838a506aaa642855c2b492682a8e576a9c839906.png)

Given that, I believe that your Universal Login Page may have issues. Could you please clarify if you configured the `additionalSignUpFields` in your Universal Login Page correctly? See [additionalSignUpFields example](https://auth0.com/docs/libraries/lock/lock-configuration#additionalsignupfields-array-) more details.

Looking forward to your response.

Thank you.

---

<div class="post-metadata">

**Author:** ![sgopalakrishnan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgopalakrishnan/32/21450_2.png) [@sgopalakrishnan](https://community.auth0.com/u/sgopalakrishnan)\
**Post date:** [November 16, 2021, 6:43am UTC](https://community.auth0.com/t/universal-login-not-reflecting-on-all-applications/72921/6 "2021-11-16T06:43:32Z")

</div>

Hi ruben,  
This is my nav bar in auth0, here i am not able to find actions

 ![Screenshot 2021-11-16 at 9.32.16 AM](https://global.discourse-cdn.com/auth0/original/3X/7/0/706c098359970e7e630b30937275a483a3c8fc25.png)  
Under hooks they ask me to upgrade to actions  
 ![Screenshot 2021-11-16 at 9.32.45 AM](https://global.discourse-cdn.com/auth0/original/3X/d/7/d76978c659fe61074cfb6f5947410b7b89fb90c1.png)  
when i click i get this error  
 ![Screenshot 2021-11-16 at 9.33.10 AM](https://global.discourse-cdn.com/auth0/original/3X/4/9/49cc9632efb7b7eeb6670bcf036ab07476b70b43.png)

Also the additionalSignUpField is configured properly i believe as it is working fine in one application. The issue is only for M2M. Is there any config in additional signup that enables it only in one application?

Again thank you for your response 🙂

---

<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:** [November 16, 2021, 8:34pm UTC](https://community.auth0.com/t/universal-login-not-reflecting-on-all-applications/72921/7 "2021-11-16T20:34:30Z")

</div>

Hi @sgopalakrishnan,

Thank you for your response.

The screenshot of your Auth0 Dashboard does not look like the new Auth0 Dashboard. This looks like the legacy version, which you can tell from the new versus old UI. I’ve also confirmed that the Actions feature has been a globally available feature that everybody should have access to.

Given that, there are a couple of things I’d like you to try for me to better understand what is going on.

First, could you please try to use the Management API to [create an Action](https://auth0.com/docs/api/management/v2#!/Actions/post_action) and see if you get a successful response?

Next, could you please try to make a new tenant and see if the new tenant has the new UI and features? It may also be worth using an alternative browser.

> [@sgopalakrishnan](#):
>
> Also the additionalSignUpField is configured properly i believe as it is working fine in one application. The issue is only for M2M. Is there any config in additional signup that enables it only in one application?

It’s possible by rendering the Universal Login page only for one application by checking for a specific client ID. Could you please share your Universal Login page code with me so that I can check it out?

Thank you.

---

<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:** [December 14, 2021, 1:06am UTC](https://community.auth0.com/t/universal-login-not-reflecting-on-all-applications/72921/8 "2021-12-14T01:06:37Z")

</div>

Hi @sgopalakrishnan,

It has been some time since I have heard from you.

I wanted to check in to see if you have resolved your issues?

Thank you.

---

<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:** [January 3, 2022, 4:20pm UTC](https://community.auth0.com/t/universal-login-not-reflecting-on-all-applications/72921/9 "2022-01-03T16:20:04Z")

</div>

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