Metadata-Version: 2.1
Name: sentry-auth-authsch
Version: 1.0.0
Summary: AuthSCH SSO integration for Sentry
Home-page: https://github.com/thomasklein94/sentry-auth-authsch.git
Author: Tamas Kiss
Author-email: tamas.kiss@kszk.bme.hu
License: Simplified BSD
Platform: UNKNOWN
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development
Requires-Dist: requests (<3.0.0,>=2.20)
Provides-Extra: tests
Requires-Dist: exam ; extra == 'tests'
Requires-Dist: responses ; extra == 'tests'
Requires-Dist: flake8 (<2.1,>=2.0) ; extra == 'tests'
Requires-Dist: pytest (<3.6.0,>=3.5.0) ; extra == 'tests'
Requires-Dist: betamax (==0.8.1) ; extra == 'tests'
Requires-Dist: sentry (<10.0.0,>=9.1.0) ; extra == 'tests'

AuthSCH SSO provider for Sentry
===============================

An SSO provider for Sentry which enables `AuthSCH <https://auth.sch.bme.hu/>`_  authentication.

This work is relying on `sentry's internal OAuth2 implementation <https://github.com/getsentry/sentry/blob/master/src/sentry/auth/providers/oauth2.py>`_
and inspired by `Google SSO provider for Sentry <https://github.com/getsentry/sentry/blob/master/src/sentry/auth/providers/google>`_.

Install
-------

::

    $ pip install sentry-auth-authsch

Setup
-----

Create a new OAuth Client on the `developer console of AuthSCH <https://auth.sch.bme.hu/console/index>`_.

For redirect uri, add the SSO endpoint of your installation::

    https://sentry.example.com/auth/sso/

Put your client id and secret into your ``sentry.conf.py``:

.. code-block:: python

    AUTHSCH_CLIENT_ID = ""

    AUTHSCH_CLIENT_SECRET = ""


