Set-Cookie Internal Map

When creating internal cookies, such as am-auth-jwt and the pre-authentication cookies, this property sets additional attributes by adding text into the Set-Cookie header.

Specify a key:value map, where the key is the cookie name, and the value the string to add to the Set-Cookie header. If the key is omitted, the value becomes the default for all cookies.

Separate multiple values with a semicolon.

Examples:

  • Set the SameSite attribute of the am-auth-jwt cookie: org.forgerock.agents.set.cookie.internal.map[am-auth-jwt]=samesite=strict

  • Set the SameSite attribute of all cookies: org.forgerock.agents.set.cookie.internal.map=samesite=strict

  • Set several attributes of mycookie: org.forgerock.agents.set.cookie.internal.map[myCookie]=Max-Age=10000; Domain=.my.default.fqdn

Property name

org.forgerock.agents.set.cookie.internal.map

Property aliases

org.forgerock.agents.set.cookie.internal.map (since 5.6.3.0)

Type

Map

  • Keys: Agent internal cookie name

  • Values: (samesite) text to be added to the Set-Cookie header

Bootstrap property

No

Required property

No

Restart required

No

Local configuration file

AgentConfig.properties

AM console tab

SSO