Skip to main content

Google SSO support for Sentry 7.5 and above.

Usage

Add sentry_sso_google to your Sentry config’s INSTALLED_APPS.

The following settings are required to be in your Sentry configuration. You can create a new project in the Developers Console. From there, go to APIs & Auth, Credentials and get the credentials for a web application. You will also need to enable ‘Google+ API’ in the APIs section.

  • GOOGLE_OAUTH2_CLIENT_ID

  • GOOGLE_OAUTH2_CLIENT_SECRET

You can limit who can sign into Sentry using this provider by setting the GOOGLE_WHITE_LISTED_DOMAINS to a list of allowed domains. For example, to limit to educreations.com users, one could do:

GOOGLE_WHITE_LISTED_DOMAINS = ['educreations.com']

Instead, or, in addition, you can limit only certain emails to log in using the GOOGLE_WHITE_LISTED_EMAILS setting. The setting should be a list of emails that are checked. For example, to limit to a few users, one could do:

GOOGLE_WHITE_LISTED_EMAILS = [
    'chris.streeter@educreations.com',
    'corey.farwell@educreations.com',
]

Once deployed, go to the ‘Auth’ section of your organization’s sentry settings. Click the ‘Configure’ next to ‘Google’.

Release files for sentry-sso-google 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sentry-sso-google 1.2
File Size Uploaded
sentry-sso-google-1.2.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sentry-sso-google 1.2
File Interpreter ABI Platform
sentry_sso_google-1.2-py2-none-any.whl Python 2 none any Details

Total release size: 7.9 kB

Release files / sentry-sso-google-1.2.tar.gz

Download URL sentry-sso-google-1.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4e69c547ac99174e7b9073e0f804d2f39e21106c16bd0fc917ecf920f1c1b71b
BLAKE2b-256 checksum
How to use checksums
4b0511dd94d884fe7f2f1688235a728366fc93bbf60dbe2fbb598234449200aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sentry_sso_google-1.2-py2-none-any.whl

Download URL sentry_sso_google-1.2-py2-none-any.whl
Size 5.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
3a4f88c7dce9fb677ad6148c4b62fbc51b7f110159aeaccff94bf4b253406a44
BLAKE2b-256 checksum
How to use checksums
876b0c30f64ffbe3e9cc9779f3904b9a7db5a8a504d97faf9f11eb314e6b125e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2 This release

2 release files

1.1.1

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page