Identity Cloud

Customize a theme for hosted pages

While this use case was validated for accuracy, it can always be improved. To provide feedback, click thumb_up or thumb_down in the top right of this page (you must be logged into Backstage).

Description

Estimated time to complete: 20 minutes.

In this use case, you customize the look and feel of the Identity Cloud End User UI hosted pages to match your organization’s branding.

Goals

After completing this use case, you will know how to do the following:

  • Create a new theme in Identity Cloud.

  • Define the branding for end-user journey pages and account pages.

  • Enable account controls so that end users can download and delete their data from their profile page.

  • Set the new theme as the default theme for the Identity Cloud End User UI hosted pages.

Prerequisites

Before you start work on this use case, ensure you have these prerequisites:

  • Access to your Identity Cloud development environment as an administrator.

  • A URL that specifies the location of a logo image. The URL must be publicly accessible.

  • A proficient understanding of HTML. ForgeRock allows you to customize pages with your own custom HTML.

  • You have completed the use case create test users and roles. Specifically, you have created the test user acruse.

Tasks

Task 1: Create a new theme and define the branding

In this task, you create a new theme for end-user hosted pages and define the branding.

  1. Log in to the Identity Cloud admin UI as an administrator.

  2. Go to wysiwyg Hosted Pages and add New Theme.

  3. Enter My Organization Theme, and then click Save.

    The Hosted Pages editor displays.

  4. In Global Settings make the following branding changes:

    Tab Option Customize

    Styles

    Brand Colors

    Click the Brand Color field and enter the hex value #009C80.

    Click the Brand Hover Color field and enter the hex value #007661.

  5. Click Journey Pages and make the following branding changes:

    Tab Option Customize

    Styles

    Page Background

    Click the Page Background Color field and enter the hex value #007661.

    Logo

    Logo

    Click the pencil icon (), enter your logo URL in the Logo URL field, and then click Update.

    Layout

    Footer

    Enable the Footer switch.

    Click the pencil icon (), edit the HTML, and then click Update. For example, enter the following:

    <div class="d-flex justify-content-center py-4 w-100">
    <span class="pr-1">© 2023</span>
    <a href="https://www.my-example-org.com" class="text-body">My Organization</a>
    <a href="https://www.my-example-org.com/privacy-policy" style="color:#0000ee" class="pl-3 text-body">Privacy Policy</a>
    <a href="https://www.my-example-org.com/terms-conditions" style="color:#0000ee" class="pl-3 text-body">Terms &amp; Conditions</a>
    </div>
  6. Click Account Pages and make the following branding changes:

    Tab Option Customize

    Logo

    Expanded Version

    Click the pencil icon (), enter your logo URL in the Logo URL field, and then click Update.

    Collapsed Version

    Click the pencil icon (), enter your logo URL in the Logo URL field, and then click Update.

    Layout

    Profile Page

    Enable Account Controls.

    Account controls allow end users to download the data Identity Cloud has about them in a JSON format and allow end users to delete their account information.

    End users can only view the information and take actions for the items you enable in the Profile Page. For more information, refer to Configure visible information and end-user actions.
  7. Click Global to review your changes.

    Customized theme
  8. Click Save.

Task 2: Set the new theme as the default theme

  1. In the Identity Cloud admin UI, go to wysiwyg Hosted Pages.

  2. Click the ellipsis icon () for the My Organization Theme and select Set as Realm Default.

    My Organization Theme is now the realm default theme.

Default realm theme
The default theme applies to the end-user login pages and the Identity Cloud End User UI. You can add custom themes so that your end users are presented with screens specific to their authentication journey. For more information, refer to Add a custom theme.
Check in

At this point, you:

Created a new theme.

Defined the branding for the theme.

Enabled account controls in the end-user account pages.

Set the new theme as the default for end-user journey pages .and the Identity Cloud End User UI.

Validation

Now that you have created your new theme and set it as the default, you are ready to validate the configuration.

The steps in this validation check that the login pages and Identity Cloud End User UI display the new theme, including letting end users download and delete their account data.

In this validation task you log in as acruse, who is one of the users created in Create users and roles.

Steps

  1. In the Identity Cloud admin UI, go to account_tree Journeys and click on the Login journey provided as default in Identity Cloud.

  2. Copy and paste the Preview URL into an Incognito window.

    The Sign In page for the tenant displays with the My Organization Theme branding.

    Login page with customized theme
  3. Enter the username and password for acruse, and then click Next.

    You are logged in to the Identity Cloud End User UI.

  4. Click Edit Your Profile.

    The Profile page displays, including Account Controls.

    Profile page with customized theme
  5. In the Identity Cloud admin UI, go to wysiwyg Hosted Pages.

  6. Click the ellipsis icon () for a different theme and select Set as Realm Default.

  7. Go back to the Identity Cloud End User UI (in the Incognito window) and refresh the browser.

    The look and feel of the Identity Cloud End User UI changes to the theme you selected as the default.

Video of validation

The following video displays the expected validation of logging in with the new theme and changing to a different default theme:

Explore further

Reference material

Reference Description

Identity Cloud hosted pages

Learn about hosted pages you can use in journeys and the Identity Cloud End User UI.

Demo: Configure themes for the Alpha and Bravo realms - ForgeRock University

A guided walkthrough video demonstrating how to configure themes for the Identity Cloud End User UI account pages.

Use case: Create dynamically branded journeys in Identity Cloud

A guided walkthrough demonstrating how to apply themes dynamically during a journey, based on the end user’s organization.

Copyright © 2010-2024 ForgeRock, all rights reserved.