Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689969000/a419c82c-d026-4a09-ade9-155a2e0c1795.jpg?itok=5X2VI88S)
Infosys Limited
IN
Last activity: 24 Oct 2022 9:26 EDT
How to transition the anonymous to authenticated user
Hi All,
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***