Skip to main content

Google SSO support for Sentry

Project description

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’.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
sentry_sso_google-1.2-py2-none-any.whl (5.1 kB) Copy SHA256 hash SHA256 Wheel 2.7 Apr 13, 2016
sentry-sso-google-1.2.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Apr 13, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page