Description | This article describes how to troubleshoot an issue with two-factor authentication by using debug commands. |
Scope | FortiOS 7.0 |
Solution |
Consider an example where the local user name 'ddd' with the remote authentication type was added to the remote authentication group.
The SSL VPN portal will produce a token authentication challenge upon attempting to log in:
After disabling the user group reference...
... The SSLVPN portal can be accessed directly with credentials without token authentication:
The debug commands below can provide more details regarding the authentication.
diagnose debug application fnbamd -1 diagnose debug enable
Below is an example debug output for the user name reference remote authentication group 'Guest-group'.
[1906] handle_req-Rcvd auth req 1516264661 for ddd in opt=00200400 prot=11 .... [2042] handle_req-Rcvd ftm2_auth_withid req 1516264661
Below is an example debug output for the user name removed from the remote authentication group 'Guest-group'.
[1906] handle_req-Rcvd auth req 1516264659 for ddd in opt=00200400 prot=11
Since the two-factor authentication is configured on the local user name 'ddd', it must be added to the user group for the SSL VPN policy rule below. An alternative option is to add the 'ddd' user name to the policy rule for the source user name.
|
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.