Skip to content

Fortified IDDocs

Wrong relaystate

You may encounter the following warning in server.log:

[AuthenticatorHandler] WARN: Incorrect RelayState value detected.
Section titled “Enable Session Cookie Support in "AuthN" Module”

To address this issue, enable session cookie support by implementing these attributes:

  • "http_session_cookie_secure": Set to true to ensure cookies are transmitted over secure connections.
  • "http_session_cookie_same_site": Set to "NONE" to mitigate CSRF attacks without restrictions.

In config.json, add the cookie attributes in the AuthN section:

"name": "AuthN",
"enabled": true,
"config": {
"context_path": "/saml/authn",
"http_session_cookie_secure": true,
"http_session_cookie_same_site": "NONE",
"webroot_dir": "web"
}