-
Notifications
You must be signed in to change notification settings - Fork 190
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
Connecting Existing User account to Social logged in user #233
Comments
Hi, I had a similar issue I simply added a pipeline in my settings.py file, for example mine is:
in that way you force an existing user not to be created and moreover associate an existing one to the converted token; the executed code is then social_core.pipeline.user.py:
|
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. |
@carbogninalberto > |
I cannot recall the details of what I have done, but I don't think you need to customize the create_user function, but add the |
This Works for me |
Hy, I am using django-rest-social-oauth2, and I need to handle the exceptional cases in which existing user wants to signin from facebook, so the current flow is that if the email is similar, it will create a new account by adding a random string to username when signing in from social login,
What I want to do is to associate the existing user account with the social login account, or may be not allow social login on existing user email, can you guide me on how I can achieve that.
Thanks
The text was updated successfully, but these errors were encountered: