---
title: Agent Authentication Mode
description: Configure the authentication mechanism that the Agent uses to login to PingAM.
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.forgerock.agents.config.agent.auth.mode
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.forgerock.agents.config.agent.auth.mode.html
---

# Agent Authentication Mode

Configure the authentication mechanism that the Agent uses to login to PingAM.

|   |                                                                                                                                                           |
| - | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | PingAM 7.3 and 7.4 may have session quota issues with agents and authentication trees. Starting with PingAM 7.5, there should be no session quota issues. |

Advanced Identity Cloud is not impacted by session quotas for Agents. This property should be set to `1` if the agent is connecting to Advanced Identity Cloud.

* `1`: Agent authentication using only Trees/Journeys.

* `2`: Agent authentication using only deprecated authentication modules.

Default: `1`

|                    |                                                                                 |
| ------------------ | ------------------------------------------------------------------------------- |
| Property name      | `com.forgerock.agents.config.agent.auth.mode`   Introduced in Web Agent 2024.11 |
| Function           | Miscellaneous                                                                   |
| Type               | Integer                                                                         |
| Bootstrap property | Yes                                                                             |
| Required property  | No                                                                              |
| Restart required   | No                                                                              |
