Set up Google authentication

This guide explains how to allow your clients to sign in to the client portal using Google authentication as a login method.

Overview

What Google authentication is

Google authentication lets clients sign in to your client portal using their Google account instead of or in addition to standard credentials. This improves convenience and reduces friction for clients who already use Google services.

Google Cloud setup

Setting up Google Authentication

To use Google Authentication as a way for your clients to log in to your monday.com client portal, you will need an OAuth client ID created at Google. The prerequisite for this is having a Google Cloud account. Follow the steps below to create your OAuth client ID.

Your client portal must be connected to a custom domain, e.g. portal.domain.com. You can't use the default subdomain coming with the Client Portal Builder app, because it's invalid for Google due to its containing underscore, which results in an Invalid Origin error.

  1. Ensure you have connected a Custom Domain.
  2. Log in to Google Cloud.
  3. Navigate to their Google Auth Platform product.
  4. Click on Clients in the left sidebar.
  5. Create a new client of Application type Web application.
  6. The name can be freely chosen, e.g. Client Portal Builder.
  7. Add the URI(s) to your Client Portal under Authorised JavaScript origins. For example, if your portal runs on https://portal.domain.com, that's the URL you want to enter. This is important, since Google Authentication will not work otherwise.
  8. After creating the client, head to the Clients overview page and copy the Client ID of the client you just created.

Client Portal Builder setup

Steps in the Client Portal Builder app

  1. Go to your monday.com workspace and log in if you haven't yet. Head over to the Client Portal Builder board view.
  2. Open the settings of your client portal, where you enable Google Authentication and paste the Client ID into the OAuth client ID field.
  3. After republishing your monday.com client portal, you should see a Google Login button on the login screen of your client portal.

Create Google login method

Adding a Google login method to a client

  1. Go to your Clients Board and open the client item where you want to add a Google Login.
  2. Open the Client Portal Builder item view.
  3. Click Create on the Login methods tab.
  4. Choose Google as login method type.
  5. Now you have to add the Google email address of the user you want to grant access.
  6. Make sure the recently created Login method and the Client are enabled.
  7. Now your client should be able to sign into the client portal via Google Auth.

Important

Use only primary Google email addresses, not aliases. Otherwise, the login will not work. When you are logged into Google, the primary Google email address is shown when you click on your profile image.