SlideShare a Scribd company logo
1
Never build a login again:
The art of using social auth with
Django
- Nikunj Thakkar
2
Who am I?
● Jr. Programmer Analyst @IshiSystems
● Co-organizer @JavaMeetup
● Core Team member @GBGAhmedabad
● More : www.nikunjthakkar.com
● @nikunjness
3
Long story.....
https://www.flickr.com/photos/arctia/14485645868/in/set-72157632729016111
More : https://news.ycombinator.com/item?id=4603204
and
http://stackoverflow.com/questions/549/the-definitive-guide-to-form-based-website-authentication
4
We believe in
Code Re-use
https://www.flickr.com/photos/110751683@N02/13334080323/in/photostream/
5
Agility
We believe in
https://www.flickr.com/photos/vfsdigitaldesign/5396691102
6
We believe in
Rapid development
https://www.flickr.com/photos/katiekrueger/2351656805
7
We believe in
Mobile-first
https://www.flickr.com/photos/aakashgautam/8497909263
8
Our
customers
are not
zombies
http://notbuyinganything.blogspot.in/2012/10/scary-halloween-spending-turning-us.html
And....
9
And....
People trusts giants and so do
we
10
Let's see how to do it
11
Wait...First tell me which
backend to use and why??
12
No rules but lots of Common
sense
➢ Millions of Users Vs. Targated Clients
➢ Personal Vs. Professional Vs. Social
➢ Web first Vs. Mobile first
13
Let's do it with Django
It takes only 3 steps to integrate Social
Authentication with your web project.
For this Demo I am using Twitter as a backend
but you can pick backend of your choice.
14
Step - 1
Create an app with your backend
15
16
17
Step - 2
Configure your Django application
to use Social Authentication
18
More : http://python-social-auth.readthedocs.org/en/latest/index.html
19
Step - 3
In your login.html put
<a id="login" href="{% url 'social:begin' 'twitter' %}?next=/">Login with Twitter</a>
20
Bonus Step
https://github.com/nikunjness/Django-art-of-Oauth
21
Let's see it running....
22
23
Thank you!
24
Resources
Fonts :
http://www.awwwards.com/100-greatest-free-fonts-
collection.html

More Related Content

Similar to Never build a login again - The art of using social Auth using Django

Confessions of a Former Agile Methodologist
Confessions of a Former Agile MethodologistConfessions of a Former Agile Methodologist
Confessions of a Former Agile Methodologist
Stephen Chin
 
2013 CrossRef Annual Meeting Building Skyscrapers With Our Scholarship Heathe...
2013 CrossRef Annual Meeting Building Skyscrapers With Our Scholarship Heathe...2013 CrossRef Annual Meeting Building Skyscrapers With Our Scholarship Heathe...
2013 CrossRef Annual Meeting Building Skyscrapers With Our Scholarship Heathe...
Crossref
 
Building Skyscrapers with our Scholarship
Building Skyscrapers with our ScholarshipBuilding Skyscrapers with our Scholarship
Building Skyscrapers with our Scholarship
Heather Piwowar
 
The Importance of Storytelling in Web Design, WordCamp Miami 2013
The Importance of Storytelling in Web Design, WordCamp Miami 2013The Importance of Storytelling in Web Design, WordCamp Miami 2013
The Importance of Storytelling in Web Design, WordCamp Miami 2013
Denise Jacobs
 
MISA London, ON - Open Data Workshop
MISA London, ON - Open Data Workshop MISA London, ON - Open Data Workshop
MISA London, ON - Open Data Workshop
Nik Garkusha
 
Mentalmodels 141001223536-phpapp01
Mentalmodels 141001223536-phpapp01Mentalmodels 141001223536-phpapp01
Mentalmodels 141001223536-phpapp01
Wally Benavides
 
About linchpins and project managers in organizations
About linchpins and project managers in organizationsAbout linchpins and project managers in organizations
About linchpins and project managers in organizations
Dimitri Honlet
 
Make Stuff People Can Use - Agile Alliance 2010
Make Stuff People Can Use - Agile Alliance 2010Make Stuff People Can Use - Agile Alliance 2010
Make Stuff People Can Use - Agile Alliance 2010
Samantha Starmer
 
In It Together: Co-Creating Your Content Strategy
In It Together: Co-Creating Your Content StrategyIn It Together: Co-Creating Your Content Strategy
In It Together: Co-Creating Your Content Strategy
Sara Wachter-Boettcher
 
Agile Gurugram 2016 | Conference | Why your Agile Project will fail? Softwar...
Agile Gurugram 2016 | Conference |  Why your Agile Project will fail? Softwar...Agile Gurugram 2016 | Conference |  Why your Agile Project will fail? Softwar...
Agile Gurugram 2016 | Conference | Why your Agile Project will fail? Softwar...
AgileNetwork
 
15 Agile Mythen
15 Agile Mythen15 Agile Mythen
15 Agile Mythen
Marc Löffler
 
Using Mahara for your ePortfolio: New features in version 1.4
Using Mahara for your ePortfolio: New features in version 1.4Using Mahara for your ePortfolio: New features in version 1.4
Using Mahara for your ePortfolio: New features in version 1.4
Kristina D.C. Hoeppner
 
O que tu queres?
O que tu queres? O que tu queres?
O que tu queres?
m Peixoto
 
Meeting of the Minds 2012
Meeting of the Minds 2012Meeting of the Minds 2012
Meeting of the Minds 2012
judithway
 
Decisionstats.com Data Science Virtual Internship
Decisionstats.com Data Science Virtual InternshipDecisionstats.com Data Science Virtual Internship
Decisionstats.com Data Science Virtual Internship
Ajay Ohri
 
Social media and technology-enhanced learning
Social media and technology-enhanced learningSocial media and technology-enhanced learning
Social media and technology-enhanced learning
Sarah Stewart
 
QR Codes Rock the Library on Your Phone
QR Codes Rock the Library on Your PhoneQR Codes Rock the Library on Your Phone
QR Codes Rock the Library on Your Phone
Meredith Farkas
 
Unlocking a Mystery: The Amazing Mind of an Open Data Hacker
Unlocking a Mystery: The Amazing Mind of an Open Data HackerUnlocking a Mystery: The Amazing Mind of an Open Data Hacker
Unlocking a Mystery: The Amazing Mind of an Open Data Hacker
Nik Garkusha
 
Small tools to improve your (agile) life
Small tools to improve your (agile) lifeSmall tools to improve your (agile) life
Small tools to improve your (agile) life
Ürgo Ringo
 
Ensinar e aprender ...com a ajuda da web
Ensinar e aprender ...com a ajuda da webEnsinar e aprender ...com a ajuda da web
Ensinar e aprender ...com a ajuda da web
Cristina Costa
 

Similar to Never build a login again - The art of using social Auth using Django (20)

Confessions of a Former Agile Methodologist
Confessions of a Former Agile MethodologistConfessions of a Former Agile Methodologist
Confessions of a Former Agile Methodologist
 
2013 CrossRef Annual Meeting Building Skyscrapers With Our Scholarship Heathe...
2013 CrossRef Annual Meeting Building Skyscrapers With Our Scholarship Heathe...2013 CrossRef Annual Meeting Building Skyscrapers With Our Scholarship Heathe...
2013 CrossRef Annual Meeting Building Skyscrapers With Our Scholarship Heathe...
 
Building Skyscrapers with our Scholarship
Building Skyscrapers with our ScholarshipBuilding Skyscrapers with our Scholarship
Building Skyscrapers with our Scholarship
 
The Importance of Storytelling in Web Design, WordCamp Miami 2013
The Importance of Storytelling in Web Design, WordCamp Miami 2013The Importance of Storytelling in Web Design, WordCamp Miami 2013
The Importance of Storytelling in Web Design, WordCamp Miami 2013
 
MISA London, ON - Open Data Workshop
MISA London, ON - Open Data Workshop MISA London, ON - Open Data Workshop
MISA London, ON - Open Data Workshop
 
Mentalmodels 141001223536-phpapp01
Mentalmodels 141001223536-phpapp01Mentalmodels 141001223536-phpapp01
Mentalmodels 141001223536-phpapp01
 
About linchpins and project managers in organizations
About linchpins and project managers in organizationsAbout linchpins and project managers in organizations
About linchpins and project managers in organizations
 
Make Stuff People Can Use - Agile Alliance 2010
Make Stuff People Can Use - Agile Alliance 2010Make Stuff People Can Use - Agile Alliance 2010
Make Stuff People Can Use - Agile Alliance 2010
 
In It Together: Co-Creating Your Content Strategy
In It Together: Co-Creating Your Content StrategyIn It Together: Co-Creating Your Content Strategy
In It Together: Co-Creating Your Content Strategy
 
Agile Gurugram 2016 | Conference | Why your Agile Project will fail? Softwar...
Agile Gurugram 2016 | Conference |  Why your Agile Project will fail? Softwar...Agile Gurugram 2016 | Conference |  Why your Agile Project will fail? Softwar...
Agile Gurugram 2016 | Conference | Why your Agile Project will fail? Softwar...
 
15 Agile Mythen
15 Agile Mythen15 Agile Mythen
15 Agile Mythen
 
Using Mahara for your ePortfolio: New features in version 1.4
Using Mahara for your ePortfolio: New features in version 1.4Using Mahara for your ePortfolio: New features in version 1.4
Using Mahara for your ePortfolio: New features in version 1.4
 
O que tu queres?
O que tu queres? O que tu queres?
O que tu queres?
 
Meeting of the Minds 2012
Meeting of the Minds 2012Meeting of the Minds 2012
Meeting of the Minds 2012
 
Decisionstats.com Data Science Virtual Internship
Decisionstats.com Data Science Virtual InternshipDecisionstats.com Data Science Virtual Internship
Decisionstats.com Data Science Virtual Internship
 
Social media and technology-enhanced learning
Social media and technology-enhanced learningSocial media and technology-enhanced learning
Social media and technology-enhanced learning
 
QR Codes Rock the Library on Your Phone
QR Codes Rock the Library on Your PhoneQR Codes Rock the Library on Your Phone
QR Codes Rock the Library on Your Phone
 
Unlocking a Mystery: The Amazing Mind of an Open Data Hacker
Unlocking a Mystery: The Amazing Mind of an Open Data HackerUnlocking a Mystery: The Amazing Mind of an Open Data Hacker
Unlocking a Mystery: The Amazing Mind of an Open Data Hacker
 
Small tools to improve your (agile) life
Small tools to improve your (agile) lifeSmall tools to improve your (agile) life
Small tools to improve your (agile) life
 
Ensinar e aprender ...com a ajuda da web
Ensinar e aprender ...com a ajuda da webEnsinar e aprender ...com a ajuda da web
Ensinar e aprender ...com a ajuda da web
 

Recently uploaded

Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 

Recently uploaded (20)

Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 

Never build a login again - The art of using social Auth using Django