How To
ForgeRock Identity Platform
Does not apply to Identity Cloud
How do I change the persistent cookie name (session-jwt) in AM (All versions)?
The purpose of this article is to provide information on changing the persistent cookie name in AM. The persistent cookie is called session-jwt by default and is created via the Persistent Cookie module.
Changing the persistent cookie name
You can change the name of the persistent cookie as follows using either the AM admin UI, Amster or ssoadm:
- AM admin UI: navigate to: Realms > [Realm Name] > Authentication > Modules > Persistent Cookie Module > Persistent Cookie Name and enter the new cookie name.
-
Amster: follow the steps in How do I update property values in AM (All versions) using Amster? with these values:
- Entity: PersistentCookiemodule
- Property: cookieName
- ssoadm: enter the following command: $ ./ssoadm update-auth-instance -e [realmname] -m [modulename] -u [adminID] -f [passwordfile] -a openam-auth-persistent-cookie-name=[name]replacing [realmname], [modulename], [adminID], [passwordfile] and [name] with appropriate values.
See Also
How do I change the session cookie name for AM and Agents (All versions)?
Persistent cookie is not created in AM (All versions) after changing default keystore
Persistent cookie is no longer created in AM 6.0.x
Related Training
N/A
Related Issue Tracker IDs
N/A