With the help of the following API calls,
1. WL.Server.setActiveUser
2. WL.Server.getCurrentUserIdentity
We can create user session and get the user identity properties respectively.
I have a scenario where I want to update the properties[custom attributes] in the user identity object when the session is active.
I couldn't find an API which can do this task.
Is there any way/work-around available.
In general activated userIdentity is immutable. Try this, it might work