alpcentaur 1352d58e03 | 1 year ago | |
---|---|---|
oauth_demo | 1 year ago | |
.gitignore | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
manage.py | 1 year ago | |
requirements.txt | 1 year ago |
A minimal prototype showing how to authenticate wikimedia users with OAuth2
virtualenv --python=python3.9 venv
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
The OAuth2 configuration is located at settings.py
The default session backend is sqlite3.
The base for this prototype was done by songrgg, who published his code on Microsoft's Github. His Blog Post you can find here: https://songrgg.github.io/programming/django-oauth-client-setup