I am using rest API in openAm to authorize user after successful authentication, it’s returning tokenId which I am using in cookie but after that when I try to redirect user in openAm console. It’s again showing me default login page and remove the cookie which i have set.
This topic was modified 3 years, 9 months ago by jitusingh.
Sounds like a cookie domain or name mismatch. If you got a token ID, the authentication is successful, but you need to ensure that the cookie is sent back to OpenAM in further requests with a name that OpenAM expects. By default, it’s iPlanetDirectoryPro, though best practice suggests that is always changed. If you are receiving a redirect back to the login page, OpenAM cannot validate – or see – your token.