Knowledge Base

Support Policies

How to Add a Custom Link to a 2016 Light Theme

SecureAuth IdP Version affected: 9.0.x++

Description: Newer versions of SecureAuth no longer support the addition of html links through the Admin Console GUI for security reasons. The GUI interface filters out any html that is added to a realm before saving any changes to the realm's web.config file. As a workaround, html links can be hard coded into the theme page used by a realm. This guide will show you one way of achieving this for the initial login page of our theme 2016 Light.

Go to the following file directory for the--2016 Light themed--realm number that you wish to add a link to:
D:\Secureauth\SecureAuth#\Themes\2016 Light\views\UserIDView

There, you will an html file labeled UserIDView.html.
- Open the file with a text editing software like Notepad or Notepad++.
- Using Ctrl+F, search for <div class="sidebar__footer hidden-xs">.

Capture.JPG


- Between <copyright-text></copyright-text> and <eula-link></eula-link> some line breaks can be entered as well as an <a href> link of your choosing.

Capture2.JPG


- Save these changes to the html file and the end result will look something like this.

Capture3.JPG


This newly added Link will bring users to whichever URL that it's directed to from the html file. In this example, the link will go to https://www.google.com

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.