We upgrade to 24.2 recently, we notice there is a new HTML “pyDisplayAuthErrorScreen” we never see before.
We custmized this HTML but looks like it always use the OOTB version. And this HTML is displayed randomly, we cannot find a pattern of timing it popup.
Please kindly advice what is the new HTML used for, how to make our self version works, and how to test and verify.
In Pega 24.2, the pyDisplayAuthErrorScreen HTML rule displays an error page when authentication fails or a user session expires. The customized version may not work because the authentication error page runs under an unauthenticated requestor that cannot access your application ruleset. To fix this, create a dedicated unauthenticated access group and ruleset. Save your customized pyDisplayAuthErrorScreen HTML rule in that ruleset. Add the ruleset to the application associated with the unauthenticated access group. Navigate to Configure > System > General > Requestors and assign this access group to the BROWSER requestor type. Save the changes and clear the rule cache to ensure the updated HTML is loaded. To verify, open the application in a private browser window, allow the session to expire, and perform an action that triggers an authentication error. The customized error screen should now appear instead of the default Pega screen