This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/client-packages/sentry-auth-passbook
2019-03-12 17:18:08 +01:00
..
sentry_auth_passbook add sentry client 2019-03-12 17:18:08 +01:00
tests add sentry client 2019-03-12 17:18:08 +01:00
.gitignore add sentry client 2019-03-12 17:18:08 +01:00
.travis.yml add sentry client 2019-03-12 17:18:08 +01:00
conftest.py add sentry client 2019-03-12 17:18:08 +01:00
LICENSE add sentry client 2019-03-12 17:18:08 +01:00
Makefile add sentry client 2019-03-12 17:18:08 +01:00
MANIFEST.in add sentry client 2019-03-12 17:18:08 +01:00
README.rst add sentry client 2019-03-12 17:18:08 +01:00
setup.cfg add sentry client 2019-03-12 17:18:08 +01:00
setup.py add sentry client 2019-03-12 17:18:08 +01:00

GitHub Auth for Sentry
======================

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

Install
-------

::

    $ pip install https://github.com/getsentry/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``:

.. code-block:: python

    GITHUB_APP_ID = ""

    GITHUB_API_SECRET = ""


Verified email addresses can optionally be required:

.. code-block:: python

    GITHUB_REQUIRE_VERIFIED_EMAIL = True


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

.. code-block:: python

    GITHUB_BASE_DOMAIN = "git.example.com"

    GITHUB_API_DOMAIN = "api.git.example.com"


If Subdomain isolation is disabled in GHE:

.. code-block:: python

    GITHUB_BASE_DOMAIN = "git.example.com"

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