mirror of
https://github.com/Rushilwiz/actions-testing.git
synced 2025-04-08 21:30:19 -04:00
24 lines
468 B
Markdown
24 lines
468 B
Markdown
# ion-oauth
|
|
Ion Oauth2 backend for [python-social-auth](https://github.com/python-social-auth/social-app-django).
|
|
|
|
|
|
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
|