How do I set the remote auth communications timeout in a Fortigate Firewall

Our RADIUS (and others like SAML/LDAP) system requires some time to process the requests from RADIUS clients, and the default value of 5 secs for the Fortigate (FGT) is not enough. Here is how to change the timeout on the FGT.

To change the global timeout for authentication in an FGT device:

From Fortinet Documentation

config system global

set remoteauthtimeout 60

end

Sets the seconds that the FortiGate waits for response from remote authentication server.