social-app-django icon indicating copy to clipboard operation
social-app-django copied to clipboard

Questions: Custom user model, and multiple social accounts linking to one local account

Open andrew-ang opened this issue 5 years ago • 2 comments

Have a couple of questions, hoping that someone is able help.

  1. I am using my own custom user model, which does not have a username or first_name, only full_name and email. It seems like username is required. Is there a way to configure it such that it is not?

  2. I'm looking to associate multiple social accounts to one local user. The idea is for support staff to login with their gmail accounts onto the one Customer Support account. Can this be done? I'm guessing that if this is possible, it will be in the associate_by_email pipeline?

andrew-ang avatar Apr 15 '19 01:04 andrew-ang

@andrew-ang you can use your own custom pipeline function to create user. Or you can try adding your required fields as settings:

USER_FIELDS = ['username', 'full_name']

jd-solanki avatar Apr 23 '20 10:04 jd-solanki

@andrew-ang did you ever solve question 2.?

james-d-f avatar Dec 02 '20 16:12 james-d-f