Troubleshooting Tip: Getting '403 Forbidden error' message when trying to connect to SAML IPsec VPN with DUO MFA
Description | This article describes how to resolve the '403 Forbidden error' when trying to connect to the SAML IPsec VPN with DUO MFA. |
Scope | FortiClient v7.2.9, v7.2.10, v7.4.0 and above. |
Solution | When connecting to a SAML IPsec VPN with DUO MFA, after inputting SAML username + password + DUO MFA, FortiClient Windows shows '403 Forbidden error' and is unable to proceed:  With FortiClient EMS subscription: ![]()  This is due to incorrect (after logon SAML authentication framework) settings.
![]() Â
![]() Â
 Note: Without a FortiClient EMS subscription, enabling the 'Use external browser as user-agent for SAML user authentication' option also resolves this error. If the issue is on v7.2.9 or v7.2.10, the solution is to upgrade to v7.4 to use the external browser option.  Dial-up IPsec VPN with SAML using an external browser for authentication is supported starting from FortiOS v7.6.1, FortiClient (Windows) and (macOS) v7.2.5 and v7.4.1, and FortiClient (Linux) v7.4.3. If the FortiOS version is below this version, disable the 'Use external browser as user-agent for SAML user authentication' option in the FortiClient.
 Related articles: |



