django-rest-framework-social-oauth2
django-rest-framework-social-oauth2 copied to clipboard
How can I find out if a user is logged in using a social account?
Hi there,
This is more of a question than any other kinds of issues! :)
I am using django-rest-framework-social-oauth2
for enabling the users to use the system by their social accounts like Google account. But my system also have normal sign-up and sign-in for users who don't want to use their social accounts! So for this group of users, I put a "change password" ability. Now the problem is that I want to know if the applicant user to changing password, is using social account or not! So if she/he is using her/his social account, I prevent her/him from changing password!! (I hope this is clear!)
So how can I diagnosis these two groups of users? (the one who is logged in using a social account and the one who is logged in by system's account)
Thanks in advance
Hi all.
My team and I are constantly using this framework and it seems it has died out there. I contacted the owner by email asking if he would add some of us as maintainers so we could continue to improve it. However we didn't get a response.
I am publishing the project under my profile and we are going to continue to invest time in it.
So I would like to gently ask you to contribute to this project on: https://github.com/wagnerdelima/drf-social-oauth2
Thank you for understanding.