Skip to Content

How to fix FortiClient on MacOS giving the error ‘Login error. Internal error. Save auth token failed’

This article describes the steps to take upon encountering the ‘Login error. Internal error. Save auth token failed’ FortiClient error on MacOS.

Scope

FortiClient, MacOS.

Solution

When connecting to SSL VPN via FortiClient on a MacOS device, the user may encounter a message stating ‘Login error. Internal error. Save auth token failed’.

This error indicates that FortiClient may not have the correct permissions to access the keychain-db, or that there are issues with the keychain-db.

Follow the steps below to address this issue:

  • Check FortiClient’s permissions. See this section of the administration guide.
  • Reset keychain access by referring to the Apple documentation.
  • After following the step above, all of the old passwords will be saved in login_renamed_1.keychain-db and a new login.keychain-db will be created. Restart the machine and try to login to SSL VPN again.
  • Additionally, for MacOS 14 or later:
    • Navigate to Users -> [username] -> Library -> Keychains
    • There is a folder with a UUID name in this directory, along with the login.keychain-db.
    • Zip that folder, then delete it and rename the compressed file to [uuid].backup
    • Log out of the machine or restart it.
    • Now, when the user logs back in to the machine, it will recreate that folder. Try to log in to the SSL VPN.

If the issue still persists, Contact Fortinet Support.