Create a Custom Page Title per Application

Overview

This article explains how to have a custom page title per Application instead of using the application name while using New Universal Login.

Applies To

  • Custom Page Title
  • Applications
  • Templates
  • New Universal Login

Solution

Providing a custom domain is present, this problem can be solved via Customize Universal Login Page Templates

Something similar to the below can be used to output custom page titles depending on the application that is in context:

...     
    justify-content: center;
        background-color: rgb(60,60,60);
      }
    </style>
    {% if application.id == "SJYKZafXep7istjFfNM0fzyaSCIOf9BK" %} 
        <title>My custom title 1</title>
    {% else %}
        <title>My custom title 2</title>
    {% endif %}

  </head>
  <body class="_widget-auto-layout">
    {% if prompt.name == "login" or prompt.name == "signup" %} 
        <div class="prompt-wrapper"
...