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

Document steps to set up social login to the D8 portal #238

Open
jbennett13 opened this issue Jul 24, 2019 · 7 comments
Open

Document steps to set up social login to the D8 portal #238

jbennett13 opened this issue Jul 24, 2019 · 7 comments
Assignees
Labels
documentation Documentation needed

Comments

@jbennett13
Copy link
Collaborator

Document steps to set up social login to the D8 portal.

@jbennett13 jbennett13 added the documentation Documentation needed label Jul 24, 2019
@jbennett13 jbennett13 self-assigned this Jul 24, 2019
@kscheirer
Copy link
Contributor

kscheirer commented Aug 26, 2019

The winning module seems to be "Social Auth" - https://www.drupal.org/project/social_auth. There's a long list of supported auths on the project page - users will have to download one for each service with which they want to integrate.

@kscheirer
Copy link
Contributor

@giteshk - do you think the 2 flows below are acceptable? They both have some drawbacks.

Social Auth does not change Drupal's user registration process at all - except for the outside auth. Specifically this means it respects registration settings at admin/config/people/accounts. We'll document the options available.

  • Visitor - best user flow, your account is provisioned and you are logged in when returning from auth. This makes the devportal rather public though - anyone can register an account.
  • Visitor, with admin approval - When you return your account is created but blocked. You see a message like "an admin must approve your account before you can login"
  • Administrator only - disables user registration, therefore also social auth

@giteshk
Copy link
Member

giteshk commented Aug 26, 2019

@kscheirer If we can fix the problem with the Apigee module with the social login integration that would work.

The registration flows you are suggesting seem to be similar to what core offers I am not following what the question is.

@kscheirer
Copy link
Contributor

Hmm, it just felt weird. There are some more options available in the 2.x branch to control registration. I think you're right, this is not an issue.

@kscheirer
Copy link
Contributor

Add social links to login form

  • Go to "Structure" => "Block layout"
  • Drag the "Social Auth Login" block into the "Content" region
  • Click Save
  • Click "configure" for the Social Auth Login block
  • uncheck "Display title"
  • Click "Pages" vertical tab
  • Enter /user/login for the Pages text area
  • Select Show for the listed pages
  • Click Save Block

Map first name and last name

@jbennett13
Copy link
Collaborator Author

Draft almost complete.

@cnovak
Copy link
Collaborator

cnovak commented Dec 11, 2020

@jbennett13 is this completed or still outstanding?

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

No branches or pull requests

4 participants