Skip to content

Deduktiva/sentry-auth-oauth2

 
 

Repository files navigation

Generic Auth for Sentry

An SSO provider for Sentry which enables Generic organization-restricted authentication.

Install

$ pip install https://oauth2.com/getsentry/sentry-auth-oauth2/archive/master.zip

Setup

Create a new application under your organization in Generic. Enter the Authorization callback URL as the prefix to your Sentry installation:

https://example.sentry.com

Once done, grab your API keys and drop them in your sentry.conf.py:

OAUTH2_APP_ID = ""

OAUTH2_API_SECRET = ""

Verified email addresses can optionally be required:

OAUTH2_REQUIRE_VERIFIED_EMAIL = True

The default unique id field is called id, but can be changed:

OAUTH2_UNIQUE_USERID_FIELD = 'user_id'

You will also need to specify the domains:

OAUTH2_BASE_DOMAIN = "oauth2.example.com"

OAUTH2_API_DOMAIN = "oauth2.example.com/api/v3"

About

Generic OAuth2 SSO provider for Sentry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.9%
  • HTML 7.2%
  • Makefile 2.9%