Different Customizations for Different Applications using New Universal Login Page Templates

Overview

This article explains whether it is supported to use different customization for different applications while using the New Universal Login.

Applies To

  • New Universal Login Page Templates

Solution

While having multiple distinct page templates configured for a single tenant is not supported, it is possible to use conditional statements to customize the content displayed based on the application’s client ID or name. Here is a short example:

{% if application.clientID == "<App1 client ID>" %}
  <h1>Welcome to App1!</h1>
{% elsif application.clientID == "<App2 client ID>" %}
  <h1>Welcome to App2!</h1>
{% else %}
  <h1>Welcome!</h1>
{% endif %}