/oauth-demo

An OAuth2 demo introduces how to setup OAuth client with Python Django.

Primary LanguagePythonMIT LicenseMIT

OAuth Demo

An OAuth2 demo introduces how to setup OAuth client with Django.

Quick Start

  1. Create virtual environment
  2. Install requirements
pip install -r requirements.txt
  1. Run the server
python manage.py migrate
python manage.py runserver

Behind the scene

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