---
title: Enable Redirect to AM Success URL
description: When true, the agent redirects to the success URL specified in the AM service, if any. If no success URL is specified in AM, the agent redirects to the original requested URL, if any.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.authn.success.redirect.session.url.enabled
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.authn.success.redirect.session.url.enabled.html
---

# Enable Redirect to AM Success URL

When `true`, the agent redirects to the success URL specified in the AM service, if any. If no success URL is specified in AM, the agent redirects to the original requested URL, if any.

When `false`, the agent redirects to the requested URL, if any.

|                          |                                                                                                                                                                             |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.authn.success.redirect.session.url.enabled`                                                                                                           |
| Aliases                  | `org.forgerock.agents.authn.success.redirect.session.url.enabled`   Introduced in Java Agent 5.6.3.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 7 |
| Function                 | Login                                                                                                                                                                       |
| Type                     | Boolean: `true` returns true; all other strings return `false`.                                                                                                             |
| Default                  | `false`                                                                                                                                                                     |
| Bootstrap property       | No                                                                                                                                                                          |
| Required property        | No                                                                                                                                                                          |
| Restart required         | No                                                                                                                                                                          |
| Local configuration file | `AgentConfig.properties`                                                                                                                                                    |
| AM console               | Tab: `AM Services (from AM 7)`Title: `Enable Redirect to AM Success URL`Legacy title: `Redirect to AM's Success URL`                                                        |
