Google Cloud

Integrating Buddy self-hosted with Google allows you to authenticate in Buddy with your Google credentials.

Hint
You need to be a workspace admin to configure OAuth applications.
  1. Go to Self-Hosted Admin on Buddy and switch to the 3rd-Party Apps tab.
  2. Click Google on the service list and leave the window open – you will need it later on.

Image loading...Google OAuth configuration form

  1. Next, create a new project in your GCP account.
  2. Open the sidebar and go to APIs & ServicesOAuth consent screen.
  3. Set the User Type to External and click Create to proceed.
  4. Fill in the app information and click Save and continue to proceed.
  5. On the next screen, click Add or remove scopes and select these scopes:

    • .../auth/userinfo.email
    • .../auth/userinfo.profile

Image loading...OAuth consent screen configuration

  1. Save the changes and proceed with the rest of the steps to finish configuration.
  2. Click Publish app to make it available to users with a Google account.
  3. Next, go to the Credentials tab in the sidebar menu.
  4. Click Create credentialsOAuth client ID.
  5. Select Web application as the application type and paste the URI callback from your application on Buddy.
  6. Once you create the credentials, a pop-up with your Client ID and Client Secret will appear. Copy both values and paste them to the form on Buddy.
  7. Save changes and restart Buddy to finish configuration.

Last modified on Sep 24, 2024