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 is 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 theam-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 |
|
Aliases |
|
Type |
Map
|
Bootstrap property |
No |
Required property |
No |
Restart required |
No |
Local configuration file |
|
AM console |
Tab: Title: |