[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

getsentry/sentry-auth-google

Google Auth for Sentry

DEPRECATED: This project now lives in sentry.

An SSO provider for Sentry which enables Google Apps authentication.

Install

For Sentry >= 8.23.0:

$ pip install sentry-auth-google

For Sentry <= 8.22.0 (See Issue):

$ pip install https://github.com/getsentry/sentry-auth-google/archive/52020f577f587595fea55f5d05520f1473deaad1.zip

Setup

Start by creating a project in the Google Developers Console.

Then, create an OAuth Client ID/Secret pair via Project Credentials.

In the Authorized redirect URIs add the SSO endpoint for your installation:

https://sentry.example.com/auth/sso/

Finally, obtain the API keys and plug them into your sentry.conf.py:

GOOGLE_CLIENT_ID = ""

GOOGLE_CLIENT_SECRET = ""