Troubleshooting Authentication

If you encounter errors or issues while authenticating with WHMCS, see the sections below to start troubleshooting and resolve the issue.

Authenticating with WHMCS

You may encounter the following common issues:


Error or IssueCauseNext Steps
WHMCS is running behind a CloudFlare proxy, but you have not configured proxy settings. This may cause login sessions to end prematurely. Click here to automatically reconfigure your CloudFlare proxy settings. (WHMCS 8.11 and later) or WHMCS may be operating behind a proxy or CDN, but you have not configured trusted proxy settings using CloudFlare IP addresses. This may cause login sessions to end prematurely. Apply settings now to correct this issue. (WHMCS 8.10 and earlier)There is a problem with your CloudFlare® trusted proxies configuration.CloudFlare Proxy Check Errors
Admins or users report that the system frequently logged them out.You have misconfigured PHP, a proxy, or CDN on the server that hosts WHMCS, there is insufficient disk space, or there is a problem with the visitor’s IP address.Frequent Logouts
Your license key is invalidYou performed a required license check from a non-web context.Invalid License API Errors
License InvalidYou entered an invalid license key or moved the WHMCS installation without updating the license.Invalid License Errors
Login Details Incorrect. Please try again.The URL that you are using to log in does not match the WHMCS System URL setting.Login Details Errors
The system redirects you back to the login page without an error, or you see an Invalid csrf protection token error.There is a problem with PHP sessions on your server.Login Redirect Loops
No ConnectionThere is a problem preventing your server from communicating with the WHMCS licensing server.No Connection Errors
Oops! Access Denied - ForbiddenThere is a problem with your administrator role or, if an admin is logging in as a client, there is a problem with the client’s password.Oops! Access Denied Errors
The system is not removing sessions from the location in your session configuration.There is a problem in your PHP configuration.Sessions Are Not Removed

Password Resets

You may encounter the following common issues:


Error or IssueCauseNext Steps
The reset link you have followed is invalid. Please try again.The WHMCS System URL does not match the URL that the user used to access the password reset page.Invalid Reset Link Errors
The system is not successfully sending general emails, like client sign-up or order confirmations.This issue is usually due to a misconfiguration.Unsent General Emails

Two-Factor Authentication

You may encounter the following common issues:


Error or IssueCauseNext Steps
You see errors or experience problems while attempting to use Duo® Security for two-factor authentication. For example: Client Duo® Security Login Failed: invalid_client: Integration type does not support frameless access.You need to update your Duo Security credentials to use Duo’s Universal Prompt system.Duo Security Login Failures
You experience timezone-related issues in WHMCS or while running WHMCS automation.There is a timezone misconfiguration or a mismatch between the webserver’s PHP configuration and the cron engine’s PHP configuration.System Timezone Issues

Last modified: 2025 January 28