Setup WHMCS App as OAuth Server

Step 3: Configure WHMCS as an 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.
  • WHMCS -setup openid
  • Click on Generate New Client API Credentials button.
  • WHMCS - new Client API Credentials
  • You will be redirected to the app details page. Fill in the required details and enter Authorized Redirect URIs from miniOrange Oauth Client plugin which you copied in the last step and click on Generate Credentials.
  • WHMCS - Generate Credentials
  • You will be brought to App details page. Here, you can find Client ID and Client Secret
  • WHMCS - Client Credentials
  • Copy these credentials and keep it handy because you will need it in the next step.
  • You have successfully completed your WHMCS App OAuth Server side configurations.



  • Scope: openid profile email
    Authorize EndPoint: https://{yourWHMCSdomain}/oauth/authorize.php
    Access Token Endpoint: https://{yourWHMCSdomain}/oauth/token.php
    Get User Info Endpoint: https://{yourWHMCSdomain}/oauth/userinfo.php?access_token=