Web Agents

Application URL Prefix

The URL path prefix for the web server application or location block that the agent protects.

Set this property when the agent is installed for a sub-application rather than at the server root. For example, when an IIS agent is installed under /myapp, only requests with the /myapp/ prefix are routed to that application, so the agent’s internal endpoints (/agent/custom-login-response, /agent/login-fragment-relay, and so on) would be unreachable without this prefix.

The value must start with /. Trailing slashes are ignored.

When set, the agent validates that com.sun.identity.agents.config.cdsso.redirect.uri begins with the same prefix, and refuses to start if it does not.

Example: com.forgerock.agents.application.prefix=/myapp

Default: Empty (agent is installed at the server root)

Property name

com.forgerock.agents.application.prefix
  Introduced in Web Agent 2026.11

Function

General

Type

String

Bootstrap property

No

Required property

No

Restart required

No