Information
The server will authenticate only the LTPA cookie name that is configured. When the request contains other LTPA cookie names, they will be ignored.
Changing the LTPA cookie name helps make the cookie uniquely usable across multiple Liberty servers. It also helps hides the intended use of the cookie which helps prevent a bad actor from knowing how to try and misuse the cookie.
Solution
Set the ssoCookieName attribute to something other than LtpaToken2 in the webAppSecurity in the ${server.config.dir}/configDropins/overrides/*.xml For Example, obscureCookieName2
<webAppSecurity ssoCookieName="obscureCookieName2" />
Set the useOnlyCustomCookieName attribute to true in the webAppSecurity in the ${server.config.dir}/configDropins/overrides/*.xml
<webAppSecurity useOnlyCustomCookieName="true" />