Set up Google sign-in (administrators)

Let people sign up and sign in with Google.

1. Create the Google app

  1. Go to console.cloud.google.com and create a project.
  2. Open APIs and Services › OAuth consent screen. Choose External, add your app name, support email and logo.
  3. Open Credentials › Create credentials › OAuth client ID › Web application.
  4. Under Authorised redirect URIs add https://chat.yourcompany.com/auth/google/callback (use your own Chatumi address).

2. Add the keys

Copy the Client ID and Client secret into GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET in the .env file on your server.

3. Check

Open the sign-in page. A "Continue with Google" button now appears.

Reseller domains

Google only works on your main Chatumi address, because Google needs every address registered in advance.