Administrators may notice repeated SAML assertion warning events in OneLogin logs stating “Invalid Authentication Request”, even though users successfully authenticate and the application functions as expected.
This warning typically indicates that the Assertion Consumer Service (ACS) URL used by the Service Provider is not properly validated or whitelisted in the OneLogin application configuration.
SAML assertion warning for <user>
Invalid Authentication Request
The ACS (Consumer) URL Validator field in the OneLogin application does not exactly match the ACS URL being used by the Service Provider.
Even when authentication succeeds, OneLogin generates a warning if the ACS URL:
This behaviour helps highlight potential security mismatches in SAML request handling.
Configure the ACS (Consumer) URL Validator to strictly validate the Assertion Consumer Service (ACS) URL used by the Service Provider.
The ACS (Consumer) URL Validator field expects a regular expression. The value must follow Ruby/Rubular regex notation, including proper escaping of special characters such as forward slashes.
In OneLogin, navigate to:
Applications → (Affected Application) → Configuration
Locate the ACS (Consumer) URL Validator field.
Enter a regular expression that matches the exact ACS URL used by the Service Provider.
Important formatting rules:
/) must be escaped as \/?, .) must be escaped where applicable^ and $ anchors to enforce an exact matchExample format:
(Optional but recommended)
Validate your regular expression using Rubular, which matches the regex engine used by OneLogin:
Paste your regex into Rubular and test it against the full ACS URL to confirm it matches exactly.
Save the application configuration.
Have users access the application again to generate new authentication events.
© 2026 ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center