I have seen many posts about this issue, but no clear resolution. I am trying again to launch a discussion on this as my issue is not about customisation of login page, which is pretty straight forward, but making a whole part of the application available to guest users.
I tried to set an access group with all required roles in requestor type but it doesn't work. Activity set in requestor type is always redirecting to authentication. I tried to use Data-Portal.ShowDesktop activity but then it displays I have no permission to load this portal, I don't understand why.
There are exemple of this functionnality in self service protal of pega, but in documentation what is said is to set CPMWSUser access group in requestor type, nothing more while it is clearly not enough, still going to authentication rule.
Have done more tests and creating a custom activity CustomLoad that set pxThread.pxPortal property to portal name and then call activity Data-Portal.ShowDesktop it does display portal. But problem now is that the activity set in requestor type is not called when using specific servlet mapped to authentication service, so in this case can't display portal before user login using LDAP for example.
Then now I am looking at using a guest operator automatically selectedo n custom authentication service. But then for users to login I need a way to log a user to another operator when connected on one without logout.
I'm trying something similar. What you can do is, when a non-guest operator needs to log in, click a button that will log out the guest user and show a login form. The login can send the username/password as parameters to the same custom authentication service. If the user changes their mind, you can navigate to another URL, and the guest user will be logged back in automatically.