PATCH /v2/prompts/{prompt}/screen/{screen}/rendering endpoint.
The rendering configuration includes the following properties:
Rendering modes
Therendering_mode property determines whether a screen uses the default Universal Login UI or your custom ACUL implementation.
- Standard: The screen renders using the default Universal Login UI. You can use partials and template variables to customize the screen.
- Advanced: The screen renders using your custom JavaScript and CSS assets loaded through
head_tags. Partials do not apply. By default, advanced mode applies to all applications and organizations on the tenant. - Advanced (filtered): The screen renders with ACUL for requests matching the criteria defined in
filters(specific applications, organizations, or custom domains). Requests that do not match the filters fall back to standard rendering, where partials apply.
rendering_mode to advanced and provide a filters object with a match_type (includes_any or excludes_any) and at least one entity array (clients, organizations, or domains). Each entity can be identified by id or by a metadata key/value pair.
Head tags
Head tags are the primary mechanism for loading your custom UI into the ACUL host page. When Auth0 renders a screen in advanced mode, it serves a minimal HTML page and injects the elements defined inhead_tags into the page <head>. These tags load the JavaScript and CSS asset bundles that make up your custom authentication screen.
Each entry in the head_tags array is an object with the following properties:
The
integrity attribute is required for script and style sheet tags. Auth0 uses Subresource Integrity (SRI) to verify that there has been no modification to the assets.
Dynamic URL segments
Head tag URLs support dynamic segments using Liquid template syntax, which allows you to serve different asset bundles based on the current authentication context. For example, you can load a different JavaScript bundle per client or per organization to support multi-branding. Available variables for dynamic segments include:- Prompt and screen:
{{ screen.name }},{{ prompt.name }},{{ locale }} - Client:
{{ client.id }},{{ client.name }},{{ client.metadata.KEY_NAME }} - Organization:
{{ organization.id }},{{ organization.name }},{{ organization.metadata.KEY_NAME }}
integrity attribute accepts multiple hashes separated by whitespace; the browser loads the resource if any hash matches.
default_head_tags_disabled to true.
Context data
Context data controls which tenant, client, organization, and branding information Auth0 sends to your custom screen at runtime. Auth0 delivers the data through theuniversal_login_context object on the host page. In your application code, use the ACUL React SDK hooks or the ACUL JS SDK methods to access context data.
Each value you want available in your screen must be explicitly listed in the context_configuration array. Auth0 removes keys that resolve to empty or null values from the payload.
The following static context values are available:
You can also add dynamic keys using dot notation:
client.metadata.YOUR_KEYfor application metadataorganization.metadata.YOUR_KEYfor organization metadatatransaction.custom_domain.domain_metadata.YOUR_KEYfor custom domain metadatauntrusted_data.authorization_params.ext-YOUR_KEYfor custom query parameters passed to the/authorizeendpoint with theext-prefix