Get session information from service REST Request
We integrate a React widget in our pega portal.
The js file which content the react source code is hosted outside pega and managed by another team.
On load of the page in portal, the widget send a GET request to the Service in pega to retrieve data about the current user.
In the service's activity (java step), when we diplay the content of tools.getRequestor().getRequestorPage() , we only have information below :
How to get the userId from the requestor? Is there any way to get all session information from pxReqSessionId? Something like getRequestor(tools.getRequestor().getRequestorPage().getString("pxReqSessionId")).