FortiSASE
FortiSASE delivers both a consistent security posture and an optimal user experience for users working from anywhere. Secure your hybrid workforce by closing security gaps, plus simplify operations.
RBA
Staff
Staff
Article Id 421362
Description This article describes how to fix user.saml.FORTISASE_SWG_SAML_SERVER.user-name='username' was not found in the SAML Assertion Response error.
Scope FortiSASE.
Solution

Accessing SWG would fail with an authentication failed error.

 

image_(17) (1).png

 

 

 

Validate the Proxy SSO config. In this illustration claim Username is configured with the value username on FortiSASE.

 

image_(18) (1).png

 


The attribute value should be as configured on the IDP end under attribute mapping. Attributes are case-sensitive and must match both SP and IdP sides. In the IDP end attribute was set with the value 'email'. Changing the attribute value from username to email on the FortiSASE end would resolve the issue.