How To
ForgeRock Identity Platform
Does not apply to Identity Cloud

How do I enable Client-side sessions in AM (All versions)?

Last updated Jan 16, 2023

The purpose of this article is to provide instructions for enabling client-side sessions in AM. Client-side sessions were referred to as client-based sessions in pre-AM 7.2.


1 reader recommends this article

Enabling client-side sessions

You can enable client-side sessions at a global level or at a realm level, where realm level settings override the global settings for the specific realm.

Global level

You can configure client-side sessions at the global level using either the AM admin UI, Amster or ssoadm:

  • AM admin UI: navigate to: Configure > Authentication > Core Attributes > General and enable Use Client-side Sessions.
  • Amster: follow the steps in How do I update property values in AM (All versions) using Amster? with these values:
    • Entity: Authentication
    • Property: statelessSessionsEnabled
  • ssoadm: enter the following command: $ ./ssoadm set-attr-defs -s iPlanetAMAuthService -t organization -u [adminID] -f [passwordfile] -a openam-auth-stateless-sessions=truereplacing [adminID] and [passwordfile] with appropriate values.

Realm level

You can configure client-side sessions at the realm level using either the AM admin UI, Amster or ssoadm​​​​​​​:

  • AM admin UI: navigate to: Realms > [Realm Name] > Properties and enable Use Client-side Sessions.
  • Amster: follow the steps in How do I update property values in AM (All versions) using Amster? with these values:
    • Entity: Authentication
    • Property: statelessSessionsEnabled​​​​​​​
  • ssoadm: enter the following command: $ ./ssoadm set-realm-svc-attrs -s iPlanetAMAuthService -e [realmname] -u [adminID] -f [passwordfile] -a openam-auth-stateless-sessions=truereplacing [realmname], [adminID] and [passwordfile] with appropriate values.

See Also

FAQ: Cookies in AM

Choose where to store sessions

Introduction to sessions

Configure client-side session denylisting

Core authentication attributes

Related Training

N/A

Related Issue Tracker IDs

N/A


Copyright and Trademarks Copyright © 2023 ForgeRock, all rights reserved.