Django Social Authentication | django-allauth | Django OAuth2 |Django SSO|Sign in with Google Django

Опубликовано: 13 Февраль 2026
на канале: Code Band
62,257
886

In this Django tutorial, I'm gonna be showing you how to implement Social Authentication in Django which will give your users the power of signing in or signing up with multiple social accounts without letting them creating a new account in your website. We will be dealing with multiple providers like Facebook, Google and GitHub. Single Sign-on (SSO) is a very powerful feature in web applications. In general, there will be :
. Sign in with Google / Sign up with Google
. Sign in with Facebook / Sign up with Facebook
. Sign in with GitHub / Sign up with GitHub

We will show you everything from scratch; registering your application in Providers like Facebook, Google and GitHub; configuring django part of connecting social providers and then register the app in the Django Admin Panel. Apart from that, we will be explaining each and every step as we move forward with the code. We will be using OAuth2 implementation for all the providers. We will see things like Client ID, Client Secret, Access Token, Authorization Code, Authorization Server, Resource Server and other related things.

We will be using django-allauth package, but we will be exploring the other package called python-social-auth as well. We will also be guiding you when to use which package at the end of the video.

Subscribe | Code Band

References :
django-allauth Package : https://django-allauth.readthedocs.io...
python-social-auth Package : https://python-social-auth.readthedoc...
GitHub Repo : https://github.com/akjasim/cb-dj-sso

Other videos in Code Band:
Universal Live Server | Server Side Auto Refresh Browser | Express | Django | Laravel | Rails :    • Universal Live Server | Server Side Auto R...  
Django Dependent Drop Down List Example | Integration with Django Forms and Django Form Validations :    • Django Dependent Drop Down List Example | ...  
Django Autocomplete with jQuery UI | AJAX | Search | Filter from Database | Tutorial | Code Band :    • Django Autocomplete with jQuery UI | AJAX ...  
Build a Weather App in Django | Scrape Weather Data from Google | Beautiful Soup | Python Requests :    • Build a Weather App in Django | Scrape Wea...  
Sending Emails in Django using Gmail | Secure, Easy and the Django Way :    • Sending Emails in Django using Gmail | Sec...  
Python .env File | Django .env File Example | Python Decouple Django | Django Environment Variables :    • Python .env File |  Django .env File Examp...  
Django Select2 Tutorial | Django Dropdown | Django ajax Dropdown | Django Search and Filter :    • Django Select2 Tutorial | Django Dropdown ...  
Django Shell Plus | Advanced Django Shell | Django Shell Commands | Django Shell Tutorial :    • Django Shell Plus | Advanced Django Shell ...  
Django Seed Data into Database Models | Django Faker | Django loaddata | Django Dummy Data :    • Django Seed Data into Database Models | Dj...  
3 Cool Django Features that Django Developers are Not Aware of :    • 3 Cool Django Features that Django Develop...  
Build a Weather App in Django | Scrape Weather Data from Google | Beautiful Soup | Python Requests :    • Build a Weather App in Django | Scrape Wea...  
Django Custom User Model | Email as Username | Phone as Username | Authentication Example |Code Band :    • Django Custom User Model | Email as Userna...  
Playlist | Django Authentication | The easiest and actual way of doing it :    • Django Authentication Tutorial  
Playlist | Django Relationships | Explained with Example by Code Band :    • Django Relationships | Explained with Exam...  
Custom Model Manager & Model QuerySet in Django :    • Custom Model Manager & Model QuerySet in D...  
Render Django Form Manually : Make Custom Form with Form Validations -    • Render Django Form Manually - Make Custom ...  
Generic Class Based Views in Django | Introduction & Create View in Django | Learn by Example | CRUD :    • Generic Class Based Views in Django | Intr...  
How to Deploy Django Project on Heroku for Free :    • How to Deploy Django Project on Heroku for...  
Connect Django with MySQL :    • How to Connect Django With MySQL Database ...  
Instagram Automation using Python :    • Instagram Automation using Python | Web Au...  
Top 5 Programming Languages to Learn in 2020 :    • Top 5 Programming Languages to Learn in 20...  

:) You Can Find Me On:
My Website -
Linkedin -   / akjasim  
Github - https://github.com/akjasim/
Facebook -   / jasimakjasim  
Twitter -   / akjasim  
Instagram -   / jasim_ak