Welcome to the Universal Login Customization Guide! 🎨
This document provides essential information on configuring the rendering mode and customizing head tags for Universal Login.
rendering_modecan be set to either"advanced"or"standard".- The default value is
"standard".
default_head_tags_disabledis a toggle to enable or disable Universal Login's default head tags.
context_configurationspecifies a list of context values that are made available.- Refer to the official documentation for supported values.
head_tagsdefines an array of custom head tags (e.g., scripts, stylesheets).⚠️ At least one<script>tag must be included.
filtersdefines the conditions under which advanced rendering mode with custom UI is applied. By default, the configuration applies tenant-wide.match_typeand at least one of the entity arrays (clients,organizations, ordomains) must be specified.match_typedefines the matching logic:"includes_any": Uses custom assets if any match."excludes_any": Excludes custom assets if any match.
clients: Up to 25 client objects, defined by eitheridormetadatakey/value.organizations: Up to 25 organization objects, defined by eitheridormetadata.domains: Up to 25 domain objects, defined by eitheridormetadata.
use_page_templatedetermines whether to render using the tenant’s custom page template.- When set to
true, it attempts to use the custom page template (a warning is logged if not defined). - When set to
falseor omitted, the default template is used. - The default is
false.
- When set to
- Only explicitly declared fields are updated.
- Unspecified fields remain as they are.
{
"rendering_mode": "advanced",
"context_configuration": [
"branding.themes.default",
"client.logo_uri",
"client.description",
"client.metadata.google_tracking_id",
"screen.texts",
"tenant.enabled_locales",
"untrusted_data.submitted_form_data",
"untrusted_data.authorization_params.ext-my_param"
],
"head_tags": [
{
"tag": "script",
"attributes": {
"src": "https://cdn.sass.app/auth-screens/{{client.name}}.js",
"defer": true,
"integrity": [
"sha256-someHash/Abc+123",
"sha256-someHash/cDe+456"
]
}
},
{
"tag": "link",
"attributes": {
"rel": "stylesheet",
"href": "https://cdn.sass.app/auth-screens/{{client.name}}.css"
}
}
],
"filters": {
"match_type": "includes_any",
"clients": [
{ "id": "appId" },
{ "metadata": { "key": "value" } }
],
"organizations": [
{ "id": "orgId" },
{ "metadata": { "key": "value" } }
],
"domains": [
{ "id": "domainId" },
{ "metadata": { "key": "value" } }
]
},
"use_page_template": false
}- Use
"advanced"mode for full customization/granular control of the login experience and to integrate your own component design system - **Use
"standard"mode for creating a consistent, branded experience for users. Choosing Standard mode will open a webpage within your browser where you can edit and preview your branding changes.For a comprehensive list of editable parameters and their values - Ensure
head_tagsincludes at least one<script>tag for proper functionality. - Use
context_configurationvalues carefully to avoid exposing sensitive data. - Always validate your JSON before applying changes to prevent syntax errors and unexpected behavior.
📖 Auth0 Universal Login Documentation
📖 Advanced Customization Guide