Hi Kiran,
Thanks a lot for your message. Have tried using redirect option, but this doesnt work. The only option we have is to add parameters under Configuration>Advance settings, Unfortunately, we have 100+ cognos environments (SB+PP+PROD), Cognos Administrator is finding it difficult to make these changes manually. Moreover, since we use CJAP, we have disabled the login screen, prompting the user to enter Username/Password.
Please let me know if you have any other ways to login or update these parameters.
Thanks!
------------------------------
Dhanush
------------------------------
Original Message:
Sent: Fri September 04, 2020 11:06 AM
From: Kiran Passumarthi
Subject: Cognos 11.1.7 - Parametrized URL login - Response Status code - 441
Hi Dhanush,
No specific URL rewrites other than what cognos already requires for the webserver are needed. Usually, when we are using the /v1/disp endpoint, we add m_redirect=/alias/bi/ to the query string so that after authentication the request is redirected to this URL; you can try the same and see if that works.
Regards
------------------------------
Kiran Passumarthi
www.linkedin.com/in/kiranpassumarthi
Original Message:
Sent: Thu September 03, 2020 04:20 PM
From: Dhanush
Subject: Cognos 11.1.7 - Parametrized URL login - Response Status code - 441
Hi Torben/Kiran,
Torben -
Thanks for the response.
We are using IHS 9. The approach you have provided works fine, but only after adding the Glass.urlLoginParameters login parameters. Without this advanced setting, URL login was not working.
Betweeb, Dispatcher Login is not working, returns with "Invalid Login Response". Have been using the URL -
http://<COGNOSAPPSERVER>:9300/bi/v1/disp or
http://<COGNOSAPPSERVER>:9300/p2pd/servlet/dispatch
Both the URLs are trying to redirect to legacy login, but responds with "Invalid Login Response".
Can you please let me know whether you have faced this issue from your end?
Kiran -
Thanks for suggestion.
Even with incognito mode, appending v1/disp to the alias/bi does not work without adding Glass.urlLoginParameters.
Once I add these parameter, the below options works without issue -
https://<WEBSERVER>/ibmcognos/bi/?<LOGINPARAMETERS>
When I try with the URL https://<WEBSERVER>/ibmcognos/bi/v1/disp?<LOGINPARAMETERS>, redirection happens to https://<WEBSERVER>/bi/?, and the page keeps on Spinning without displaying home perspective, though my session with Cognos is created. When I try to open the same URL https://<WEBSERVER>/ibmcognos/bi - in new tab, I do have valid cognos session.
Is there any other configuration/Rewrite rule that has to be modified?
Thanks!
------------------------------
Dhanush
Original Message:
Sent: Wed September 02, 2020 06:45 AM
From: Kiran Passumarthi
Subject: Cognos 11.1.7 - Parametrized URL login - Response Status code - 441
Hi Dhanush,
It should work fine, just that when there is still a cookie available to the browser, all secondary authentication requests will fail. Try in incognito / inprivate browser mode and you will see what I am saying. /v1/disp endpoint will work in 11.1.7 as well but if you are going to use bi/ endpoint, pls make sure you set the Glass.urlLoginParameters.
In Cognos Analytics 11.1.x these advanced parameters can now be added in the portal:
1. Click Manage > Configuration > System, and select Advanced Settings.
2. In the key field type: Glass.urlLoginParameters
3. In the value field type: CAMNamespace,CAMUsername,CAMPassword
4. Click Apply
Regards,
------------------------------
Kiran Passumarthi
www.linkedin.com/in/kiranpassumarthi
Original Message:
Sent: Wed September 02, 2020 02:24 AM
From: Torben Schipper
Subject: Cognos 11.1.7 - Parametrized URL login - Response Status code - 441
Hi,
Did you try to access https://<WEBSERVER>/ibmcognos/bi/?CAMNamespace=<NAMESPACEID>&CAMUsername=<USERNAME>&CAMPassword=<PASSWORD> instead of https://<WEBSERVER>/ibmcognos/bi/v1/disp....
This work for me in my 11.1.7
remove the v1/disp from the URL. not sure if this is a defect in any IIS rules because via Dispatcher URL this work fine
I created the IIS config with the ..\cgi-bin\templates\IIS\CA_IIS_Config.bat
Do not use an older one to create the config
When doing an upgrade, delete the IIS config (https://www.ibm.com/support/pages/node/301009) and run the 11.1.7 script
------------------------------
Torben Schipper
Original Message:
Sent: Tue September 01, 2020 04:03 PM
From: Dhanush
Subject: Cognos 11.1.7 - Parametrized URL login - Response Status code - 441
Hi All,
With Cognos 11.1.7, we are trying to login through URL where Namespace, Username and password are appended. While everything works fine with cognos 11.1.4, we do get different response in Cognos 11.1.7.
Cognos 11.1.4 -
https://<WEBSERVER>/ibmcognos/bi/v1/disp?CAMNamespace=<NAMESPACEID>&CAMUsername=<USERNAME>&CAMPassword=<PASSWORD>
This URL works perfectly with cognos 11.1.4.
Cognos 11.1.7:
https://<WEBSERVER>/ibmcognos/bi/v1/disp?CAMNamespace=<NAMESPACEID>&CAMUsername=<USERNAME>&CAMPassword=<PASSWORD>
https://<WEBSERVER>/ibmcognos/bi/?CAMNamespace=<NAMESPACEID>&CAMUsername=<USERNAME>&CAMPassword=<PASSWORD>
------------------------------
Dhanush
------------------------------
#CognosAnalyticswithWatson