I have a requirement to convert the anonymous user to the authenticated user. To support the anonymous authentication, pega has introduced the anonymous authentication service where we can give the model operator which means it running in the context of the provided model operator.
Lets say I have logged in with the anonymous user. As part of my application, I need to display the Login button on the screen. On click of the login button, a popup should appear to enter the credentials. Once the user provided the correct creds then the context of the session should change from the anonymous to the current operator.
Please share your thoughts on how to achieve this requirement?
***Edited by Moderator Marije to add Capability tags***