iMerica / dj-rest-auth

Authentication for Django Rest Framework
https://dj-rest-auth.readthedocs.io/en/latest/index.html
MIT License
1.63k stars 304 forks source link

Adding Microsoft Graph Login Serializer and Login on Register #513

Open jeff-zimmerman opened 1 year ago

jeff-zimmerman commented 1 year ago

Hi,

More of a feature suggestion/completion than a fix. I've added a Microsoft Graph login serializer to my social_serializers.py file and also implemented a "login on register" option for the RegisterView class and corresponding APISetting. I can create a feature branch and pull request if you'd like to implement it, or drop you a patch file. I hope it's something you're interested in because dj-rest-auth saved me a ton of headache and I'd love to contribute to it. It also caused me a ton of headache trying and failing to get that login on register working without changing the source code, but that's a different story.