Author Topic: Cognos SSO and USer Session Authentication  (Read 2415 times)

Offline KAW

  • Associate
  • **
  • Join Date: Mar 2021
  • Posts: 1
  • Forum Citizenship: +0/-0
Cognos SSO and USer Session Authentication
« on: 11 Mar 2021 02:23:15 pm »
Hello,
I have Cognos Reports embedded into a .NET application. I use SSO to login.
The SSO works by passing the token to the following url.
disp?h_CAM_action=logonAs&CAMNamespace=sso&m_redirect=/bi/

When a user logs out from the Analytics reporting server, my embedded reports are then inaccessible because user logged out from the Analytices Server and is no longer authorized. This is the same as clicking bi/v1/disp?h_CAM_action=logoff

I simply need to somehow, within my application, connect to the Analytics Cognos Server to validate if the user's session is still authenticated. If not, I can then tell my application to log in with SSO again. Can you tell me what SDK class/method can be used to validate if a user's session is still valid? This is a company based installation. We do not have an IBM cloud installtion. If you have an example that would be appreciated as well. Thanks