Implementing Social Authentication
In the previous chapter, you built user registration and authentication into your website. You implemented password change, reset, and recovery functionalities, and you learned how to create a custom profile model for your users.
In this chapter, you will add social authentication to your site using Facebook, Google, and Twitter. You will use Django Social Auth to implement social authentication using OAuth 2.0, the industry-standard protocol for authorization. You will also modify the social authentication pipeline to create a user profile for new users automatically.
This chapter will cover the following points:
- Adding social authentication with Python Social Auth
- Installing Django Extensions
- Running the development server through HTTPS
- Adding authentication using Facebook
- Adding authentication using Twitter
- Adding authentication using Google
- Creating a profile for users that register with...