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:
diag debug reset
Depending on the setup, another command set might be helpful. For example, if this is for SSL VPN, add diag debug app sslvpn -1 to the command set like:
diag debug reset diag debug console timestamp enable diag debug app fnbamd -1 diag debug app sslvpn -1 diag debug enable
To disable debugs:
diag 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 |