Hi Auth0
I have been trying to add ACUL following this example
But I am running into an issue. Here is what I have done:
What am I missing here?
Thanks
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. You should be able to use the Management API to make the configuration of context_configuration
on this endpoint: Auth0 Management API v2
Hope this helped!
Gerald
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) 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