Go to file
2020-12-15 15:15:56 -05:00
.github/workflows init 2020-12-15 15:15:56 -05:00
build/lib/ion_oauth init 2020-12-15 15:15:56 -05:00
dist init 2020-12-15 15:15:56 -05:00
ion_oauth init 2020-12-15 15:15:56 -05:00
ion_oauth.egg-info init 2020-12-15 15:15:56 -05:00
LICENSE init 2020-12-15 15:15:56 -05:00
README.md init 2020-12-15 15:15:56 -05:00
setup.py init 2020-12-15 15:15:56 -05:00

ion-oauth

Ion Oauth2 backend for python-social-auth.

Setup

Install with pip:

pip install ion_oauth

Add

AUTHENTICATION_BACKENDS = [
    ...
    'ion_oauth.oauth.IonOauth2',
]

to your settings.py for a django project.

Define SOCIAL_AUTH_ION_KEY and SOCIAL_AUTH_ION_SECRET in your settings.py by following the instructions at https://tjcsl.github.io/ion/developing/oauth.html