Skip to content
This repository was archived by the owner on May 21, 2024. It is now read-only.

gs-gs/sentry-auth-github

 
 

Repository files navigation

GitHub Auth for Sentry

This a fork of sentry-auth-github repository. Fork provides support for multiple GitHub repositories.

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

Install

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

If you are using sentry/onpremise (self-hosted version), please drop the link below into requirements.txt.

git+https://github.com/ktlg/sentry-auth-github.git@master#egg=sentry-auth-github

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 or export them as env variables in docker-compose.yml:

GITHUB_APP_ID = ""

GITHUB_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

Packages

No packages published

Languages

  • Python 89.4%
  • HTML 8.0%
  • Makefile 2.6%