Question
3
Replies
1624
Views
Kaiser Permanente
Posted: July 9, 2018
Last activity: July 26, 2018
Closed
Customize Error Message during Pega basic login (non-SSO)
Currently when I login to pega using my user ID and password, Pega will throw the error message "The information you entered was not recognized." if I type incorrect user name or password.
I need to customize this error message as per requirement. As per my research, there is code in web-login.html which calls an activity Code-Security.Login which seems to handle the authentication and throw the error message.
<div id="submit_row">
<button id='sub' class="loginButton" name="pyActivity=Code-Security.Login" type="submit" onClick="removeErrorMessage();" >
<span class="loginButtonText" ><pega:lookup property="pxRequestor.pyButtonLabel"
However I could not find the activity Code-Security.Login. The activity is not present in this class. Please see attached screenshots
I checked DSS settings as well. This error message is not part of DSS Settings.
Can someone please guide me on how to customize this error message (basic PRPC login)?
***Updated by moderator: Lochan to update platform capability***
Hi,
I haven't attempted this personally, but have a couple of thoughts on how you might be able to dig a little deeper.
When a browser hits the login screen for a Pega environment, it creates a requestor that you can attach a tracer session to. You could try capturing a trace of a failed login attempt and seeing which activities (and other rules) are run.
Additionally, you could try running a rule content search (you'll have to be on an indexed system) to see if you can find the text for the message that is displayed on the screen.
Hope this helps!
-Kurt