Description |
This article provides a solution to the SAML auth error 'Access denied' shown to the end user by the SP/firewall.
|
Scope | FortiGate v6.X v7.X. |
Solution |
Run the following debug on the firewall whilst the end user is authenticating:
diagnose debug disable diagnose debug reset
Depending on the setup, another command set might be helpful. For example, if this is for SSL VPN, add diagnose debug app sslvpn -1 to the command set like:
diagnose debug disable diagnose debug reset diagnose debug console timestamp enable diagnose debug app fnbamd -1 diagnose debug app sslvpn -1 diagnose debug enable
To disable debugs:
diagnose debug disable
If this message is seen in the SAML debug from FortiGate CLI:
2023-06-22 07:01:30 [15478:root:57][fsv_found_saml_server_name_from_auth_lst:123] Found SAML server [azure.ad.sso] in group [test1]
Check the SAML configuration on the FortiGate. This is usually caused by incorrect 'config user saml' parameters like 'set single-sign-on-url'.
config user saml
'set single-sign-on-url' is incorrect in this example, it must be https://fgt.local:8443/remote/saml/login |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.