I am complete this Oauth by using django's built in package named django-allauth for social login in django and another builtin package named dj-rest-auth for RestAPI endpoints.
first clone this repo in your system:
git clone https://github.com/mangalji/Oauth_implementation_2.gitsecond initiate the virtual environent:
python3 -m venv .venvnow, activate the virtual environent:
source .venv/bin/activatethird install the dependencies:
pip install -r requirements.txtnow run the app:
python3 manage.py runserver