Login with Google

In this guide example.com will be used to represent the location you are hosting HeyForm, it should be replaced with the correct value.

Create a project

  • Create a project or use an existing one

OAuth consent screen

  • Choose an “App name”
  • Make sure that “Authorized domains” includes the domain you are using for HeyForm

Credentials

  • Click on “Create credentials” and select “OAuth client ID”
  • Choose Web application as the application type
  • Under “Authorized JavaScript origins” enter your domain name again
  • Under “Authorized redirect URIs” enter the URL (replacing the domain name): https://example.com/connect/google/callback
  • Click “Save”
  • Make a note of the Client ID and Secret values

HeyForm

Add the values noted from the above process in the following environment variables:
GOOGLE_LOGIN_CLIENT_ID= GOOGLE_LOGIN_CLIENT_SECRET=
Â