Guide to Configure WHMCS as a OAuth/OpenID Connect Server

If you want users to login to your WordPress site using their WHMCS credentials, you can simply do it using our WP OAuth Client plugin. Once you configure the WHMCS with WordPress plugin, you can allow users to SSO to your WordPress site using WHMCS. Similarly, you can map your WordPress roles based on your WHMCS attributes/groups. To know more about other features we provide in WP OAuth Client plugin, you can click here.

Please follow the steps given below to configure your WHMCS account with WordPress and setup the Single Sign On.

Steps to Configure WHMCS As A OAuth/OpenID Connect Server

  • First of all, go to your WHMCS domain and log into your WHMCS Administrator account.
  • You will be presented with following screen. Go to Setup OpenID Connect on the navigation bar on top.
  • Configure OpenID Connect in WHMCS
  • Click on Generate New Client API Credentials button.
  • Create new Client Credentials
  • You will be redirected to the app details page. Fill in the required details and enter Authorized Redirect URIs from miniOrange OAuth/OpenID Connect Plugin and click on Generate Credentials.
  • Configure New Client
  • You will be brought to App details page. Here, you can find Client ID and Client Secret.
  • Check your client configuration
  • Copy these credentials in MO OAuth Plugin configuration on corresponding fields.
  • You have successfully completed your WHMCS OpenID Connect Server side configurations.
  • You can download OAuth Client plugin using the following link.
  • OAuth Single Sign On – SSO (OAuth client)

    WHMCS Endpoints and Scope:

    Client ID: from the step 5 above
    Client Secret: from the step 5 above
    Scope: openid profile email
    Authorize Endpoint: https://{yourWHMCSdomain}/oauth/authorize.php
    Access Token Endpoint: https://{yourWHMCSdomain}/oauth/token.php
    User Info Endpoint: https://{yourWHMCSdomain}/oauth/userinfo.php?access_token=

Free Trial

If you are facing any difficulty please mail us on