LoginShare Modules
On this page
You can create LoginShare
modules to authenticate users against a separate system. You can integrate WHMCS with any third-party application to provide a single sign-on solution for your customers.
WHMCS includes support for single sign-on for cPanel and Plesk. For more information, see Single Sign-On.
For code examples and more information, see our
ClientLoginShare
Developer Documentation.Creating a LoginShare Module
LoginShare
modules in WHMCS use the hooks system and the ClientLoginShare
hook point. They can be standalone items or part of modules in the system.
The hook runs whenever a user attempts to log in that does not exist in the WHMCS database.
Variables
The ClientLoginShare
hook point uses the following variables:
Variable | Description |
---|---|
username | The username that the user entered in the login form (normally an email address). |
password | The password that the user entered in the login form. |
Your custom hook function will validate these variables against the remote system’s database or API and return a response.
Last modified: 2025 January 29