martin-ngigi / drf-social-allauth

Django all social authentications, i.e.google, facebook, twitter, email, aws, github.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INSTALLATIONS

pip install django
pip install djangorestframework
pip install django-allauth
pip install python-dotenv
pip install mysql-connector-python
source .venv/bin/activate
cd project
python3 manage.py runserver
  • Run migration
source .venv/bin/activate
cd project
python3 manage.py makemigrations
python3 manage.py migrate

Using all Auth:

  • Link to authenticate users
[Link](http://127.0.0.1:8000/accounts/signup/)

NB:

  • Dont forget to add "Authorized JavaScript origins" in Link
http://127.0.0.1:8000
  • Also add "Authorized redirect URI"s in google console
http://127.0.0.1:8000
http://127.0.0.1:8000/accounts/google/login/callback/

LOGIN WITH ALLAUTH:

all users url:

About

Django all social authentications, i.e.google, facebook, twitter, email, aws, github.


Languages

Language:Python 100.0%