Cognos Analytics

 View Only

 Cognos 12 Custom Login Page – Password Change After Reset Not Working

Andrej Dik's profile image
Andrej Dik posted Fri October 24, 2025 02:28 AM

We use IBM Cognos Analytics 12.0.4 with a custom login page (LoginCSS.css, LoginView.js and LoginView.html) loaded by an extension (spec.json).
Normal login works fine. The problem happens when a user’s password has expired/reseted.

Problem:

On the default Cognos login page, when the password is reseted, Cognos automatically shows a new screen to change the password. The user can enter the old and new password there, and it works.

On our custom login page, this does not happen:

Cognos only shows the message:
“Your password has expired. Please set a new password.”

No password change form is shown. 

The user cannot continue or change the password — the login process stops.


What we found:

The default login page seems to call an internal Cognos function that opens the password change screen. In our custom login page, this function does not exist or is not called. We could not find any public API to trigger the “Change Password” screen. It may depend on some internal Cognos session or CAM token.


Environment:

IBM Cognos Analytics 12.0.4

LDAP authentication (OpenDJ 4.6.3) (namespace: TC-NS-ID)

No SSO

Custom login via extension (LoginCSS.css, LoginView.js and LoginView.html)


Questions:

How can we show or call the Cognos Change Password screen when using a custom login page?

Is there any Cognos API or function to start the password change process manually?

Which file or internal function does the default login page use to show this page?

Is it possible to fully support password change inside a custom login page?

Goal:

We want users to see and use the same password change screen on our custom login page that appears in the default Cognos login when a password has expired.
Right now, Cognos only shows a message but does not continue to the change screen.

For now, we are using a workaround by providing a link on the custom login page that redirects users to the “?factoryMode=true” page, where they can reset their password.

Patrick Neveu's profile image
Patrick Neveu IBM Champion

Hi Andrej,

I had a disappointing experience with the "custom login page" because support told me they couldn't provide assistance for that page.

Source also available from the documentation (IBM Cognos Analytics 12.1.x): They do not include every possible feature, interactivity, or environment/configuration. You can use these samples as-is (supported by IBM), or you can modify/extend them to suit your business needs (not supported).

SampleLogin.zip and SampleLoginMultiple.zip (available in the installation_location/samples/extensions folder) use a limited version of Cognos Analytics login functions.

Best regards,

Patrick Neveu