# Problems trying to add ACUL

**URL:** <https://community.auth0.com/t/problems-trying-to-add-acul/183707>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [March 11, 2025, 2:38pm UTC](https://community.auth0.com/t/problems-trying-to-add-acul/183707 "2025-03-11T14:38:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian\_jorgensen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brian_jorgensen/32/39466_2.png) [@brian\_jorgensen](https://community.auth0.com/u/brian_jorgensen)\
**Post date:** [March 11, 2025, 2:38pm UTC](https://community.auth0.com/t/problems-trying-to-add-acul/183707/1 "2025-03-11T14:38:02Z")

</div>

Hi Auth0

I have been trying to add ACUL following this example

> **[Auth0 ACUL JS SDK Quickstart](https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/sdk-quickstart#5-enable-acul-advanced-rendering-mode)**
>
> Learn how to implement the Auth0 ACUL JS SDK Quickstart

But I am running into an issue. Here is what I have done:

- I have set the Branding → Universal login as “Universal login” in Auth0 management tool

- I have set login-id render settings through the management API linking to script and CSS files generated by the “boilerplate sample app”. ([GitHub - auth0-samples/auth0-acul-react-boilerplate: Auth0 ACUL React Boilerplate](https://github.com/auth0/auth0-acul-react-boilerplate))

- I have downloaded the react sample app ([GitHub - auth0-samples/auth0-react-samples: Auth0 Integration Samples for React Applications](https://github.com/auth0-samples/auth0-react-samples)) and I am logged in on localhost with my test tenant domain

- My boilerplate test app has this code [LoginId | auth0-acul-js - v1.0.1](https://d1ywy7uwj7mp98.cloudfront.net/docs/classes/Classes.LoginId.html#Example), but the line “const loginIdManager = new LoginId();” throws the error “Universal Login Context is not available on the global window object.”

What am I missing here?

Thanks

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [March 11, 2025, 3:53pm UTC](https://community.auth0.com/t/problems-trying-to-add-acul/183707/3 "2025-03-11T15:53:02Z")

</div>

Hi @brian_jorgensen

Welcome to the Auth0 Community!

I have found some context as to why you might be facing the mentioned error and I believe you should be able to fix the issue by including optional data in Universal Login Context, as described here: [Configure ACUL Screens](https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/configure-acul-screens#include-optional-data-in-universal-login-context). You should be able to use the Management API to make the configuration of `context_configuration` on this endpoint: [Auth0 Management API v2](https://auth0.com/docs/api/management/v2/prompts/patch-rendering)

Hope this helped!  
Gerald

---

<div class="post-metadata">

**Author:** ![brian\_jorgensen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brian_jorgensen/32/39466_2.png) [@brian\_jorgensen](https://community.auth0.com/u/brian_jorgensen)\
**Post date:** [March 12, 2025, 6:07am UTC](https://community.auth0.com/t/problems-trying-to-add-acul/183707/4 "2025-03-12T06:07:00Z")

</div>

Hi Gerald,

thank you for looking into this, unfortunately I already have it, here is what I have added to login-id

{  
“tenant”: “############”,  
“prompt”: “login-id”,  
“screen”: “login-id”,  
“rendering\_mode”: “advanced”,  
“context\_configuration”: [  
“branding.settings”,  
“branding.themes.default”,  
“client.logo\_uri”,  
“client.description”,  
“organization.display\_name”,  
“organization.branding”,  
“screen.texts”,  
“tenant.name”,  
“tenant.friendly\_name”,  
“tenant.enabled\_locales”,  
“untrusted\_data.submitted\_form\_data”,  
“untrusted\_data.authorization\_params.login\_hint”,  
“untrusted\_data.authorization\_params.screen\_hint”,  
“untrusted\_data.authorization\_params.ui\_locales”  
],  
“default\_head\_tags\_disabled”: false,  
“head\_tags”: [  
{  
“tag”: “script”,  
“attributes”: {  
“src”: “############”,  
“defer”: true  
}  
},  
{  
“tag”: “link”,  
“attributes”: {  
“rel”: “stylesheet”,  
“href”: “############”  
}  
}  
]  
}

let me ask another question. The “boilerplate sample app”. ([GitHub - auth0-samples/auth0-acul-react-boilerplate: Auth0 ACUL React Boilerplate](https://github.com/auth0/auth0-acul-react-boilerplate)) that I modified according to the guide, does it need any connection to the tenant, because the guides doesn’t say so if I am not mistaken?

I did login on localhost with my other react sample app, which gave me a session, but in the boiler app I only have added the code seen here

> **[Auth0 ACUL JS SDK Quickstart](https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/sdk-quickstart#3-implement-the-login-action)**
>
> Learn how to implement the Auth0 ACUL JS SDK Quickstart

---

<div class="post-metadata">

**Author:** ![brian\_jorgensen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brian_jorgensen/32/39466_2.png) [@brian\_jorgensen](https://community.auth0.com/u/brian_jorgensen)\
**Post date:** [March 13, 2025, 8:59am UTC](https://community.auth0.com/t/problems-trying-to-add-acul/183707/5 "2025-03-13T08:59:45Z")

</div>

Ok after having another look, I now got something showing, turned out I needed to set Authentication Profile to “Identifier First” then something started to happen 🙂

I will do some testing now

thanks

---

<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:** [April 15, 2025, 3:08pm UTC](https://community.auth0.com/t/problems-trying-to-add-acul/183707/6 "2025-04-15T15:08:00Z")

</div>

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