+ 1
What is a good library for Django rest framework oauth2 social authentication ?
2 Respuestas
0
python-social-auth and oauth2 support for django-rest-framework.
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.