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

Implement "social signup", e.g., "log in with Google or LinkedIn or GitHub or Facebook or …" #13

Open
erictheise opened this issue Mar 5, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request
Projects
Milestone

Comments

@erictheise
Copy link
Member

Creating an account the old fashioned way – with email address and password – is being dealt with in issue #2. We'll track signing up with another trusted account here. Now that django-registration is implemented the use of django-allauth is supposed to be straightforward.

@erictheise erictheise added the enhancement New feature or request label Mar 5, 2020
@erictheise erictheise self-assigned this Mar 5, 2020
@erictheise
Copy link
Member Author

erictheise commented Mar 16, 2020

django-allauth's list of providers is kind of staggering. I'm implementing Google first as I'd guess that many people have Google accounts they use for accessing Docs and Sheets but I'm wondering what the next 2-4 should be.

Spoiler: I'd pick LinkedIn, GitHub, and one or two "social" networks, e.g., Twitter plus either Facebook or Instagram.

The goal here is to accommodate third party logins for early adopters and potential survey takers. There is overhead associated with setting up each provider so limiting it to the 3, 4, or 5 networks that would cover that audience is paramount.

Account creation with email and password is supported and use of third-party authentication is optional but convenient and preferred for some people.

@dayotte
Copy link

dayotte commented Apr 27, 2020

@erictheise your suggestion to look at the most popular social media providers that people have included so far in their profiles/survey sounded good to me - can we pull that info out of the database?

@erictheise
Copy link
Member Author

erictheise commented Apr 27, 2020

I did do it when I started working on this issue. We're missing dozens of recently surveyed organizations and the survey does not collect individual social accounts.

Short on time but

SELECT s.name, count(s.name)
FROM accounts_socialnetwork s
JOIN mdi_organizationsocialnetwork os on s.id = os.socialnetwork_id
GROUP BY s.name
ORDER BY count(s.name) DESC;

   name    | count 
-----------+-------
 Twitter   |    13
 Facebook  |    11
 Instagram |     6
 LinkedIn  |     5
 GitHub    |     2

So Twitter's a good choice. Can refine when Angela and company add additional survey results and it'd be great, @dayotte, if you and @cherylhjli could casually collect individual preferences during crits you run.

It's also not perfect as Google no longer has and never did have a wildly popular social network but many (most?) people have Google accounts for email and sharing documents.

@erictheise erictheise added this to the Beta milestone May 19, 2020
@greatislander greatislander added this to To do in Individuals Jun 19, 2020
@greatislander greatislander modified the milestones: Beta, Post-launch Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Individuals
  
To do
Development

No branches or pull requests

3 participants