Social Auth Google allows users to register and login to a Drupal site with their Google account. It is based on Social Auth and Social API. This module adds a path user/login/google which redirects the user to Google Accounts for authentication.
Login process can be initiated from the "Google" button in the Social Auth block. Alternatively, site builders can place (and theme) a link to user/login/google wherever on the site.

Site administrators can configure their Client ID and Client Secret in the settings form

There is an installation guide at https://www.drupal.org/node/2764227
Link to project sandbox: https://www.drupal.org/sandbox/gvso/2763739
Clone URL::
git clone --branch 8.x-1.x https://git.drupal.org/sandbox/gvso/2763739.git social_auth_google
| Comment | File | Size | Author |
|---|---|---|---|
| settings_form.png | 32.37 KB | gvso | |
| social_auth_block.png | 3.99 KB | gvso |
Comments
Comment #2
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxgvso2763739git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
gvsoCode updated
Comment #4
visabhishek commentedComment #5
visabhishek commentedComment #6
visabhishek commentedAutomated Review
Issues reported by PAReview.sh:
http://pareview.sh/pareview/httpsgitdrupalorgsandboxgvso2763739git
Please fix above issues.
Manual Review
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #7
gvsoThanks for reviewing the code!
I have updated it with commits c246505 and f223fe.
The warning from PAReview.sh states:
However, that line uses $this->t() as the warning suggests
drupal_set_message($this->t('You could not be authenticated, please contact the administrator'), 'error');Comment #8
gvsoComment #9
gvsoLast output from pareview.sh states
I'm not able to replicate this error on my local installation of pareview and the errors don't make any sense. It seems that the number "2" in the classes' names is causing the issue detected by pareview
Comment #10
nikathoneTested with the current dev of drupal.org/project/social_auth
Comment #11
hussainweb+1 to RTBC. I have been using this module without any issues, and the bugs I did find were fixed.
Comment #12
sriharsha.uppuluri commentedThe module works as expected. I have seen a issue that when a user clicks on google signin, everytime its creating a new user account. If a user is already created with the same mailid it should take that userid and login to the system.
Comment #13
gvso@sriharsha.uppuluri, maybe the bug you found is because of #2847914: Attempts to create an user even if it already exists, which is being fixed at #2848144: Create authenticate method
Comment #14
visabhishek commentedReview of the 8.x-1.x branch (commit dc61558):
Please fix the issue reported on https://pareview.sh/node/684
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
Please use get_t() in install file hook__requirements
as
Otherwise all looks good for me.
Thanks for your contribution, gvso!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #15
gvsoThanks @visabhishek!
It seems the error reported by pareview.sh is caused by the number 2 in the returning class name, and since it's a third party library, I can't update it. (It actually seems to be a bug in coder).
AFAIK, get_t() was removed long ago
Comment #16
klausiAssigning issue credits.