An OAuth2 demo introduces how to setup OAuth client with Django.
- Create virtual environment
- Install requirements
pip install -r requirements.txt
- Run the server
python manage.py migrate
python manage.py runserver
The OAuth2 configuration is located at settings.py
The default session backend is sqlite3.
For more details of the workflow, please check https://songrgg.github.io/programming/django-oauth-client-setup