Skip to content

This is a simple web application where users can sign in with their social account like Google, GitHub etc. and this application is built using Django-allauth

Notifications You must be signed in to change notification settings

Shivakumar1V/Social-Account-Signin-Using-Django-allauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Account Authentication Using Django-allauth

This is a simple web application where users can sign in with their social accounts like Google, Facebook, GitHub.

Documentation

https://django-allauth.readthedocs.io/en/latest/

Providers Used

The below OAuth2 providers are used in this application

  • Google
  • Facebook
  • GitHub

Run Locally

Clone the project

  git clone https://github.com/Shivakumar1V/Social-Account-Signin-Using-Django-allauth

Install dependencies

  pip install -r requirements.txt

Create a superuser with the below command

  python manage.py createsuperuser

Start the server

  python manage.py runserver

Get Client id and Secret key

Get your Client id and Secret key by registering app on the providers website by following the below docs

Add Social Application

For adding Social Application follow the below steps

  • Open the browser and visit http://localhost:8000/admin/socialaccount/socialapp/add/
  • Login with admin Username and Password
  • Select Provider, type provider name in the Name section, enter your Client id and Secret key, add localhost:8000 to Chosen sites and click on save - continue this with all providers(Google, Facebook, GitHub)

Yeah! Now the application is ready to use
Go to http://localhost:8000 and enjoy the application

About

This is a simple web application where users can sign in with their social account like Google, GitHub etc. and this application is built using Django-allauth

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published