Skip to main content

Google authentication

Prefix: mailrex.auth.google

The following instructions explain how to set up Google OAuth. Setting up OAuth 2.0

client-id

OAuth Client ID, obtained in Google Cloud Console. (default: null)

client-secret

OAuth Client secret, obtained in Google Cloud Console. (default: null)

workspace-domain

The registration can be limited to users of a Google Workspace domain. If nothing is set, anyone can log in with their Google account. (default: null)

authorization-url

URL to Google /token API endpoint. This usually does not need to be changed. (default: https://oauth2.googleapis.com/token)

user-url

URL to Google /userinfo API endpoint. This usually does not need to be changed. (default: https://www.googleapis.com/oauth2/v3/userinfo)