But didn’t get expected result. Login page is not redirecting to web-login.html in Unauthenticated rule set. I’m wondering if anybody could help me fix this.
In Pega 26 Infinity Studio, customize @baseclass.pyDisplayAuthScreenSelector instead of Web-Login when the login uses PRAuth.
Save the rule into your Unauthenticated ruleset and add your required HTML and CSS changes there.
Make sure the Unauthenticated ruleset is available in the access group configured for the BROWSER requestor.
Check in all the customized rules so they are available to unauthenticated users.
Clear the browser cache or open a new private browser session and access the application again.
The customized pyDisplayAuthScreenSelector should then appear as the Pega 26 login page.
You also need to make sure remove the OOTB style reference in the pyDisplayAuthScreenSelector css.
link rel=‘stylesheet’ type=‘text/css’ href=‘<%=imageRestPath%>py-login-screen.css’
link rel=‘stylesheet’ type=‘text/css’ href=‘<%=imageRestPath%>py-login-screen-auth-providers.css’
To the following, so that your changes are picked.
link rel=‘stylesheet’ type=‘text/css’ href=‘webwb/py-login-screen.css’
link rel=‘stylesheet’ type=‘text/css’ href=‘webwb/py-login-screen-auth-providers.css’