+ 1

What is a good library for Django rest framework oauth2 social authentication ?

25th Jul 2020, 7:48 PM
Ahmed Osama
Ahmed Osama - avatar
2 Respuestas
0
python-social-auth and oauth2 support for django-rest-framework.
29th Jul 2020, 10:27 AM
Lexi Rockelle Smith
Lexi Rockelle Smith - avatar
0
Python social auth is hard to integrate with django rest framework After some search I found this awesome library dj-rest-auth which uses django-allauth under the hood. It provides not only endpoints for social auth but also email/password auth, email validation, password reset and more. But since I only need social auth and only going to support google and facebook only, I decided not to use any library and implement everything from scratch. django-allauth creates so many tables that I don't really need and I want to have more control over how the authentication data will be stored.
29th Jul 2020, 3:01 PM
Ahmed Osama
Ahmed Osama - avatar