Get user current session

Certified Lead Developer

Hi, we have configured SAML login in our environment and we need to store the SAML Bearer assertion in order to get new tokens for the users while the assertion is valid. The issue we are facing is that users can have more than one session active in Appian at the same time, and for each session we need to store the assertion related to the session UUID so we can differentiate them.

I am able to retrieve the user active sessions using the plug-in User Session Checker or the login-audit log to store the session UUID with the assertion, but I need a way to get the specific user session at the moment (current session) so I can filter my query with this value and get the correct assertion. 

I tried looking for any function or plug-in that will allow this but found none, so if anyone knows a way it could be accomplish will be really helpful.

Thanks in advance  

  Discussion posts and replies are publicly visible