Custom logo does not display in the logoff screen
Custom logo does not show in the logoff screen, instead user is able to see the "X" cross mark image.
At the time of development, it displays in both IE and Chrome browser with earlier environments. After that code moved to production, the issue occurs in production environment.
For confirmation Pega tested the logoff functionality again in earlier environments and it works fine. The same logo does not get displayed in any of the browsers.
Steps to Reproduce
Add the Logo in the logoff screen.
The root cause of this problem is a defect in Pegasystems’ code/rules. The logo from webwb content is broken due, as the reference made was from unauthenticated access group hash and the same image from webwb app directory can only be shown in browser using authenticated accessgroup hash reference.
No need to customize out-of-the-box (OOTB) activities, user have to customize web-session-return html alone to include custom images on logoff screen.
This issue is resolved through the following explanation and local-change:
OOTB Logoff activity always displays login screen during logoff and this is due to a bug in OOTB "web-session-return" html code.
Remove the below line from "web-session-return" HTML source does not display the login page anymore. This code redirects to login page.
<META http-equiv="refresh" content="0;URL=<pega:reference name="$save(servURL)" />">
After making the change user gets the logoff screen successfully from "web-session-return" html source and user can just modify this html code to customize in our application. No need to customize OOTB Logoff or Endsession activities.
The logo from webwb content is broken as the reference is made from unauthenticated accessgroup hash and the same image from webwb is displayed in browser using authenticated accessgroup hash reference.
Following is the local-change to fix this issue:
1. Modify the webwb image reference to webwb/desktopimages in web-session-return html.
2. Include the same image reference in web-login page but this image gets hidden.
3. Open loginCacheManifest and include your logoff logo. This file includes static content like Pega Login logo, fonts and so on.
4. Clear the html, static content cache from Syatem Mangement Application (SMA) and also remove cache on browser.
Note: Make sure that the logo image file, web-session-return, web-login, loginCacheManifest files in your UnAuthenticated access group.
0% found this useful