33.3.7 After Consuming a SAML Response, the Browser Is Redirected to an Incorrect URL

After consuming a SAML response, 302 redirect to RelayState URL is sent to an Incorrect URL. Check whether the relay state is URL encoded.

To fix this issue, add the following entry in Identity Server’s web.xml file:

<context-param> <param-name>decodeRelayStateParam</param-name> <param-value>true</param-value></context-param>

For information about how to modify a file, see Modifying Configurations.