Thanks @lihua.zhang
Unfortunately there are multiple applications on this tenant with different application ‘display name’ requirements. The transform is the same for each, but I can’t hardcode the application string itself. The original naming convention used underscores to segment application location/team etc.
Can the /prompts
endpoint accept Liquid variables in their content? That way I could do something similar to:
{
"login": {
"description": "Log in to {% custom_app_name %}"
}
}
And then in the template:
<!DOCTYPE html><html>
{% assign custom_app_name = application.name | split: "_" | last %}
<head>
{%- auth0:head -%}
</head>
<body>
{%- auth0:widget -%}
</body></html>