Skip to main content

Google

To add a Sign in with Google button to your project, you need to follow these steps:

  1. Enable the "Google" provider in the Sign In settings page (Settings > Sign In), and copy the Redirect URI.
  2. Visit the Google Cloud Console, create a new project and select it when it's ready.

Create Project

  1. In the search box, search for "OAuth consent screen" and visit the page.

Consent Screen

  1. For User Type select the External and click Create.

  2. In App information fill in your app name and support email address.

    • The email address is publicly visible. If you don't wish to expose your personal email address you can create a Google Group with a suitable name and choose it instead.
    • Do not select a logo. If you do, your app will have to undergo manual verification by Google. As part of the verification, you will be required to place a DNS record on your Redirect URI domain, which Reflow doesn't support currently.

App Information

  1. In App domain fill in your application home page, privacy link and terms of service. Add the same domain in Authorized domains.

App Domain

  1. In Developer contact information enter the email address where you wish to receive system notifications. This address isn't public.
  2. Press Save and Continue to proceed to the Scopes step.

Scopes

  1. Click the ADD OR REMOVE SCOPES button and select .../auth/userinfo.email and .../auth/userinfo.profile.
  2. Press Save and Continue, then leave the Test users step without changes.
  3. On the Summary step review your settings and click BACK TO DASHBOARD.
  4. Press the PUBLISH APP button to make your app publicly available.

Publish

  1. Visit the Credentials page (it's in the menu above OAuth consent screen, but you can reach it by searching for "api credentials").

Credentials

  1. Click the + CREATE CREDENTIALS button, and create a new OAuth client ID.

Create Credentials

  1. For Application type select a Web application. Give it a name.
  2. In Authorized redirect URIs paste the Redirect URI from step 1 and press Create.
  3. At this point a pop up will appear holding your Client ID and Client Secret. Copy them over to Reflow and save.

OAuth Client Created

If you've followed the steps correctly, Google logins should now work in your project.