Skip to main content
warshad
Staff
Staff
Dec 22, 2021 5:25 PM UTC

Technical Tip: Disabling auto caching on VPN login using SAML

Description This article describes an issue with FortiClient version 7.0 where the user logins are saved and are directly signed in without any Multi-Factor Authentication prompt.
Scope FortiClient 7.0.
Solution

FortiClient stores the data in either of the following directories:

 

<Drive>:\Users\UserName\AppData\Local\FortiClient

 

<Drive>:\Users\%username%\AppData\Roaming\FortiClient\Network\*.*/q


There is a file in there called 'cookies' which, if deleted, will cause FortiClient to once again prompt for authentication.

 

To clear cookies from the FortiClient GUI itself:

 

cookies.PNG

 

Note: If the 'Clear Cookies' option does not work as expected, delete the existing IPsec or SSL VPN and re-create a new one, especially if it is related to any certificate error.

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024