---
title: JWT Cookie Name
description: The name of the cookie that holds the OIDC JWT on the user's browser.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.jwt.cookie.name
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.jwt.cookie.name.html
---

# JWT Cookie Name

The name of the cookie that holds the OIDC JWT on the user's browser.

Before changing the name of this cookie, consider the following points:

* This cookie is only used by the agent and is never presented to AM.

* The cookie name must be unique in the cookies the user's browser receives. For example, do not set the JWT cookie name to `iPlanetDirectoryPro`, which is the default name of the AM session cookie.

If the agent does not find the cookie named by [JWT Cookie Name](org.forgerock.agents.jwt.cookie.name.html), authentication fails. The user can only access resources that are available through not-enforced rules.

|                          |                                                                                                                                                                                                                          |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Property name            | `org.forgerock.agents.jwt.cookie.name`                                                                                                                                                                                   |
| Aliases                  | `org.forgerock.openam.agents.config.jwt.name`   Introduced in Java Agent 5.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 6`org.forgerock.agents.jwt.cookie.name`   Introduced in Java Agent 5.6 |
| Function                 | Profile                                                                                                                                                                                                                  |
| Type                     | String                                                                                                                                                                                                                   |
| Default                  | `am-auth-jwt`                                                                                                                                                                                                            |
| Bootstrap property       | Yes                                                                                                                                                                                                                      |
| Required property        | No                                                                                                                                                                                                                       |
| Restart required         | No                                                                                                                                                                                                                       |
| Local configuration file | `AgentBootstrap.properties`                                                                                                                                                                                              |
| AM console               | Tab: `Global`Title: `JWT Cookie Name`                                                                                                                                                                                    |
