Enterprise Edition: How to setup Google Auth Integration
- Create a new project in the Google Cloud Platform developer console
- Click "API & Services" and then "Enable APIs and Services"
- Enable "Contacts API" and "Google+ API"
- Click "Credentials" and then "Create Credentials" => "OAuth Client ID"
- Click "Configure consent screen" and fill in as follows:
Email address: [ Any address of your choice ] Product name to be shown to users: pganalyze Enterprise
- Create Client ID for "Web Application", and fill out as follows:
Click "Create" and then copy out the Client ID and Client Secret
Configure the corresponding environment variables
GOOGLE_CLIENT_SECRETon the pganalyze container and restart it
You should now see a "Sign In with Google" button on the login and signup screens
Note that new users need to use the "Sign Up with Google" tab on the signup page first, otherwise Login will error out.
By default all users are assigned as full members to the first organization in the system (by creation date).
If you want to specify a different organization set the
DEFAULT_ORG_NAME env variable to the name of another organization.
Couldn't find what you were looking for or want to talk about something specific?
Start a conversation with us →