Limited-Time Donation Special!
Upgrade to Snow for $20 USD and receive a free copy of Oblivion Light ($5 discount).
Upgrade to +Blizzard for $35 USD and receive a free copy of Oblivion Light ($15 discount).

Please visit the thread below for more details.

Contact @Davlin with questions or comments.

Jump to content
Sign in to follow this  

XF Legacy Google Integration

Recommended Posts

Similar to the Facebook Integration and Twitter Integration options, you can use Google integration to allow users to register or log in with their Google account. This can help reduce the friction of creating an account or remembering login details, leading to increased engagement.

Logging in via Google will be enabled when Google project details are set in the Options > Google Integration section. In this help page, we'll walk through creating and configuring the Google project for use with XenForo.

Creating the Google Project

The email address associated with this account may be displayed when users register using their Google account.
  1. Browse to and log in with your Google account.
  2. Click the Create Project button and enter a name and ID. These will only be used internally.
  3. Once the project is created, click the hamburger menu icon located at the top left, then select API MANAGER, then Credentials in the sidebar, and finally OAuth Consent Screen and complete the details as necessary and save the settings.
  4. Click CREATE CREDENTIALS, select OAuth Client ID, then WEB APPLICATIONand complete the details as follows:
    Ensure all variations of the URL used to access your site are entered.
    • In both the AUTHORIZED JAVASCRIPT ORIGINS and AUTHORIZED REDIRECT URIS fields, enter your board URL. Note that if users access your site both with and without the "www" ( and, you should enter both URLs. Similarly, if users can access your site both with and without HTTPS, you should enter a value with http and https. Each URL should be placed on its own line.
    • Double check all of the URLs are correct and then click the Create Client IDbutton. The Create Client ID overlay will be displayed so just click the Cancelbutton.
  5. On the Credentials page, make a note of the CLIENT ID and CLIENT SECRET. Copy these values into the respective fields in the Options > Google Integration section of the XenForo control panel.
  6. Finally, test your integration. You can do this via XenForo by going to your account, choosing the External Accounts option and attempting to associate your Google account.

To change the values displayed when a user attempts to register via Google, you can customize this in your Google project via APIs & auth > Consent screen.

Share this post

Link to post
Share on other sites

Really appreciate the easy, step-by-step approach to this tutorial. Thanks.

Share this post

Link to post
Share on other sites
What do you think? Remember the human.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.