A commercial WHMCS addon module that connects a WHMCS installation to a Discord community. Clients sign in with the Discord account they already use, and their Discord roles follow what they have bought.
Features
- One-click Sign in with Discord through a secure OAuth2 flow (
identifyandemailscopes) - Account linking and profile synchronization between Discord and the WHMCS client account
- Automatic role sync based on active products and client status
- Auto-registration for new users, with a configurable default client group
- Settings page inside the WHMCS admin area
- Token refresh and revocation handling
How it works
The module installs like any WHMCS addon: upload the discord_login folder to /modules/addons/, activate it under Setup → Addon Modules, and enter the Client ID and Client Secret of an application from the Discord Developer Portal. The module exposes its own OAuth2 redirect endpoint. Auto-registration, the default client group and profile sync options are all set from the admin area, with no code changes.
Who it is for
Game hosting companies, VPS providers and communities that sell through WHMCS and run their community on Discord.
Stack and role
PHP on the WHMCS addon module API. Role: author and maintainer.

