Web Policy Agents 2023.6

Enable Fragment Redirect

A flag to manage the browser’s URL fragment during authentication, as follows:

  • false: Remove the browser’s URL fragment during authentication. For example, a request to http://my.domain.com:8080/myapp/index.html#chapter-1 is authenticated and redirected to http://my.domain.com:8080/myapp/index.html. The fragment #chapter-1 is lost.

  • true: Save the browser’s URL fragment during authentication. For example, a request to http://my.domain.com:8080/myapp/index.html#chapter-1 is authenticated and redirected to the same URL. The fragment is not lost.

An extra redirect is incurred for all unauthenticated requests, to capture and process the URL fragment.

Fragment redirect is not possible for request URLs marked for JSON responses, usually for non-browser clients, such as JavaScript or other coded clients.

Default: false

Property name

org.forgerock.agents.config.fragment.redirect.enable
  Introduced in Web Agent 5.7

Function

Fragment redirect

Type

Boolean: true returns true; all other strings return false.

Bootstrap property

Yes

Required property

No

Restart required

No

AM console

Tab: Advanced (From AM 7)

Title: Enable Fragment Redirect

Copyright © 2010-2023 ForgeRock, all rights reserved.