Difference between revisions of "Configuring Sign-In using Google"
From WHMCS Documentation
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | + | 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. | |
− | + | [[File:Signinintegrationslogin3.png|600px]] | |
− | + | == Configuring Sign-In with Google == | |
− | + | 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: | |
− | + | # Visit <tt>https://console.developers.google.com/</tt>. | |
+ | # Log in to your Google account. <div class="docs-alert-warning">Changing the Google account you use to create the app requires users to reauthenticate and relink their accounts.</div> | ||
+ | # Choose '''Select a project''' on the top menu.<br/>[[File:Google-cloud-select-project.png]]<br/><br/> | ||
+ | # Choose '''New Project'''.<br/>[[File:Google-sign-in-2.png|600px]]<br/><br/> | ||
+ | # Enter a project name.<br/>[[File:Google-sign-in-3.png|600px]]<br/><br/> | ||
+ | # Click '''Create'''. | ||
+ | # Select '''Credentials''' in the left sidebar. | ||
+ | # Choose '''Create Credentials'''.<br/>[[File:Google-sign-in-5.png|600px]]<br/><br/> | ||
+ | # Select '''OAuth client ID'''. | ||
+ | # Click '''Configure Consent Screen'''. | ||
+ | # Select '''External'''.<br/>[[File:Google-sign-in-6.png|600px]]<br/><br/> | ||
+ | # Click '''Create'''. | ||
+ | # Add app information details.<br/>[[File:Google-sign-in-7.png|600px]]<br/><br/> | ||
+ | # Add an app domain.<br/>[[File:Google-sign-in-8.png|600px]]<br/><br/> | ||
+ | # Add authorised domains.<br/>[[File:Google-sign-in-9.png|600px]]<br/><br/> | ||
+ | # Add developer contact information.<br/>[[File:Google-sign-in-10.png|600px]]<br/><br/> | ||
+ | # Click '''Save and Continue'''. | ||
+ | # Select '''Credentials''' in the left sidebar. | ||
+ | # Choose '''Create Credentials'''. | ||
+ | # Select '''OAuth client ID'''. | ||
+ | # Choose '''Web Application'''.<br/>[[File:Google-sign-in-11.png|600px]]<br/><br/> | ||
+ | # Enter a name for your OAuth 2.0 client. | ||
+ | # Enter your full root domain in '''Authorized JavaScript origins'''.<br/>[[File:Google-sign-in-12.png|600px]]<br/><br/> | ||
+ | # Enter your full root domain in '''Authorized redirect URI'''.<br/>[[File:Google-sign-in-13.png|600px]]<br/><br/> | ||
+ | # Click '''Create'''. | ||
+ | # Save your client ID and secret, which you will use to activate Google Sign-In within WHMCS. <br/>[[File:Google-sign-in-14.png|600px]]<br/><br/> | ||
+ | # Log in to the WHMCS [[Admin Area]]. | ||
+ | # Navigate to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Sign-In Integrations]]''' or, prior to WHMCS 8.0, '''Setup > Sign-In Integrations'''. | ||
+ | # Select '''Activate''' under the Google heading. | ||
+ | # Enter your Google Client ID and Client Secret. | ||
+ | # 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, see [[Troubleshooting Sign-In using Google]]. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 14:00, 24 October 2023
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.
Configuring Sign-In with Google
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:
- Visit https://console.developers.google.com/.
- Log in to your Google account. Changing the Google account you use to create the app requires users to reauthenticate and relink their accounts.
- Choose Select a project on the top menu.
- Choose New Project.
- Enter a project name.
- Click Create.
- Select Credentials in the left sidebar.
- Choose Create Credentials.
- Select OAuth client ID.
- Click Configure Consent Screen.
- Select External.
- Click Create.
- Add app information details.
- Add an app domain.
- Add authorised domains.
- Add developer contact information.
- Click Save and Continue.
- Select Credentials in the left sidebar.
- Choose Create Credentials.
- Select OAuth client ID.
- Choose Web Application.
- Enter a name for your OAuth 2.0 client.
- Enter your full root domain in Authorized JavaScript origins.
- Enter your full root domain in Authorized redirect URI.
- Click Create.
- Save your client ID and secret, which you will use to activate Google Sign-In within WHMCS.
- Log in to the WHMCS Admin Area.
- Navigate to Configuration () > System Settings > Sign-In Integrations or, prior to WHMCS 8.0, Setup > Sign-In Integrations.
- Select Activate under the Google heading.
- Enter your Google Client ID and Client Secret.
- 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, see Troubleshooting Sign-In using Google.