Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I find out if a user is logged in using a social account? #231

Open
hrahmadi71 opened this issue Jul 28, 2020 · 1 comment
Open

Comments

@hrahmadi71
Copy link

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

@wagnerdelima
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants