Configuring Sign-In using Google

From WHMCS Documentation

Revision as of 08:55, 25 October 2021 by John (talk | contribs)

Enabling the Google Sign-In Integrations enables visitors and customers to register, sign in, and connect their Google accounts with your WHMCS installation for faster signup and automatic sign-in.

Signinintegrationslogin.png

Configuring Sign-In with Google

Watch the video tutorial for this feature.  

Google Sign-In Integration requires a Google Developer Project and API credentials. You can create this using your existing Google account. Users will only see the app name you define and will not see anything relating to the account you use to create the project.

To do this:

  1. Visit https://console.developers.google.com/.
  2. Log in to your Google account.
    Changing the Google account you use to create the app requires users to re-authenticate and re-link their accounts.
  3. Choose Create project. Googlesignin1.png
  4. Enter a project name and click Create. Googlesignin2.png
  5. On the project dashboard, select Credentials in the left sidebar.Googlesignin3.png
  6. For the OAuth consent screen configuration, enter a product name, homepage URL, and logo URL.
  7. Click Save. Googlesignin4.png
  8. Go back to the Credentials tab and select Create credentials > OAuth client ID. Googlesignin5.png
  9. Choose Web application.
    Googlesignin6.png
  10. Enter your full root domain in both the authorized JavaScript origin and redirect URI boxes.
  11. Click Create. Googlesignin7.png
  12. Save your client ID and secret, which you will use to activate Google Sign-In within WHMCS. Googlesignin8.png
  13. Log in to the WHMCS Admin Area.
  14. Navigate to Configuration () > System Settings > Sign-In Integrations or, prior to WHMCS 8.0, Setup > Sign-In Integrations.
  15. Select Activate under the Google heading.
  16. Enter your Google client ID and secret.
  17. Click Save & Activate.

WHMCS will attempt to validate the details you have entered. If the client ID and secret are valid and successfully authenticate with the Google API, the values will be saved.

For troubleshooting help, please refer to Troubleshooting Sign-In using Google