FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
odahy
Staff
Staff
Article Id 296247
Description

This article describes how to fix login issues with third parties such as OKTA when using SAML.

Scope FortiGate v6.4, v7.0, 7.2 and v7.4.
Solution

A user might experience a SAML login issue with third parties such as OKTA. Using the  below SAML debug it is possible to find the following error:

 

diag debug application saml -1

samld_send_common_reply [122]:     Attr: 22, 32, Failed to verify signature.

 

The Signature verification failure relates to the certificate provided by the IDP (eg. OKTA) that needed to be uploaded to the certificate on the FortiGate and used in the SAML configuration as below.

 

config user saml

    edit "okta-idp"

        set idp-cert "Okta-IDP_Certificate"

    next

end

 

Related article:

SSL VPN with OKTA as SAML IdP