Google OAuth Configuration

If this feature is enabled, Manifold will include a “Log in with Google” button on the login page. Clicking the button will open a popup that allows users to authenticate using their Google account. On successful authentication, Manifold will create a user record (if it is the user’s first time logging in) and an associated identity record.

These instructions document the process for acquiring OAuth keys from Google. It’s possible that their process has changed since this was written. If that’s the case, please open a pull request against our documentation with a correction.


Before adding OAuth support for Google to Manifold, you will need to configure Google Services for Manifold.

Callback URL

The Manifold API handles OAuth callbacks. For Google, the callback route is located at /auth/google/callback. For your installation of Manifold, the callback URL will be the fully qualified domain name (FQDN) of the API server followed by that path. For example, my Manifold API is on the same domain as the client application, and that domain is, the callback URL would be

  1. Log into your account and app at Google Developer Console.
  2. From your Manifold project’s API Manager, navigate to “Credentials” in the sidebar.
  3. Click on the “OAuth consent screen” tab.
  4. Select an email address in the dropdown.
  5. Add a name to the “Product name shown to users” field.
  6. Save the settings.

Google Consent

Create OAuth Credentials

  1. Click on the “Credentials” tab.
  2. Click the button to “Create credentials” and select “OAuth client ID”.
  3. Select “Web application” for the “Application type”.
  4. Name the credential set.
  5. In the “Authorized redirect URIs” field, enter the callback url, defined above.
  6. Click create.

Google Credentials

Get App ID and Secret ID

  1. Click on your new credential set under the “OAuth 2.0 client IDs” header.
  2. Copy the values under “Client ID” and “Client Secret”.

Google Keys

Update Manifold Settings

In the Manifold backend, navigate to the “settings” menu item. Under the “integration” tab, in the section labelled “Google OAuth Configuration,” enter the Client ID into the field labeled “Google Client ID.” Enter the Client Secret value into the field labeled “Google Client Secret.”

If you manage settings in the environment (MANAGE_SETTINGS_FROM_ENV=1 in your .env file), you should set the corresponding settings in .env:

# Google OAuth Integration