Skip to content

Cikey/sentry-auth-github

 
 

Repository files navigation

GitHub Auth for Sentry

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

Install

$ pip install https://github.com/cikey/sentry-auth-github/archive/master.zip

Setup

Create a new application under your organization in GitHub. 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:

GITHUB_SSO_APP_ID = ""

GITHUB_SSO_API_SECRET = ""

Verified email addresses can optionally be required:

GITHUB_REQUIRE_VERIFIED_EMAIL = True

Optionally you may also specify the domain (for GHE users):

GITHUB_BASE_DOMAIN = "git.example.com"

GITHUB_API_DOMAIN = "api.git.example.com"

If Subdomain isolation is disabled in GHE:

GITHUB_BASE_DOMAIN = "git.example.com"

GITHUB_API_DOMAIN = "git.example.com/api/v3"

About

GitHub SSO provider for Sentry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.2%
  • HTML 7.0%
  • Makefile 2.8%