Customize the login, error, and password change windows in AD Connect for IIs
Add custom branding, styles, and destinations to PingOne windows using a custom theme file.
|
These specifications apply only to installations of AD Connect with IIs. To customize branding and styles for standard AD Connect installations, see Assign AD Connect branding and designs. |
C:\Program Files (x86)\Ping Identity\ADconnect\Examples\Default\theme.zip contains the HTML and related media files for PingOne login and error windows. The archive folder structure is unrestricted. The only required files for theme.zip are:
-
login.html -
error.html -
changepassword.html -
passwordchanged.html
These files must all be present in the Theme.zip root.
Templates can include any javascript, graphics, CSS or other scripts included in theme.zip, using relative links, as in the following example.
<link rel="stylesheet" media="all" type="text/css" href="css/screen.css ">
<script src=" assets/js/script.js "></script>
|
All image name references must be in lower case. |
Templates must use substitution symbols to render dynamic content generated by AD Connect.
The login.html template must use the following names for authentication form fields:
-
ad.usernamefor username -
ad.passwordfor password
The changepassword.html template must use the following names for form fields:
-
ad.usernamefor username -
ad.passwordfor current password -
ad.newpasswordfor new password -
ad.confirmpasswaordfor new password confirmation
The substitution symbols and syntax for each required template file are listed in the following tables.
login.html
| Substitution symbol | Description | Syntax |
|---|---|---|
|
Replaced with the actual AD Connect URL where form data is posted for authentication. |
<form method="POST" action="$action$"> </form> |
|
Replaced by error message text. |
|
|
Renders a conditional block of markup if an error occurs. |
|
|
Attach to the |
<input id="username" type="text" size="36" name="ad.username" value="$username$"/> |
|
Replaced by the URL for the change password page. |
<a href="$changepassword_url$">Change my password</a> |
error.html
| Substitution symbol | Description | Syntax |
|---|---|---|
|
Replaced with error description. |
<font face="Arial">$errormessage$</font> |
changepassword.html
| Substitution symbol | Description | Syntax |
|---|---|---|
|
Replaced with the AD Connect URL where form data is posted for authentication. |
<form method="POST" action="$action$"> </form> |
|
Attach to the |
|
|
Replaced by error message text. |
|
|
Renders a conditional block of markup if an error occurs. |
|
|
Replaced by success message text. |
|
|
Renders a conditional block of markup after a successful operation. |
|
|
Replaced by a URL that the user is directed to when they click Cancel. |
|
|
Renders a conditional block of markupif cancellation is possible. |
|
passwordchanged.html
| Substitution symbol | Description | Syntax |
|---|---|---|
|
Replaced by a URL that the user is directed to when they click Continue. |
<a href="$resume_url$" class="button normal allow" title="Continue">Continue</a> |
To install the customization archive, copy the updated theme.zip file into the single sign-on (SSO) application folder.
The default folder location is C:\Program Files (X86)\Ping Identity\ADConnect\SSO.