Web Policy Agents 5.9.1

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

Property aliases

org.forgerock.agents.config.fragment.redirect.enable (since 5.7)

Type

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

Bootstrap property

Yes

Required property

No

Restart required

No

AM console tab

Advanced (Available in the console from AM 7)

Copyright © 2010-2022 ForgeRock, all rights reserved.