You are here

README.txt in Social Auth Google 8

Same filename and directory in other branches
  1. 8.2 README.txt
SOCIAL AUTH GOOGLE MODULE

CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Requirements
 * Recommended modules
 * Installation
 * Configuration
 * How it works
 * Support requests

INTRODUCTION
------------

Social Auth Google Module is a Google Authentication integration for Drupal. It
is based on the Social Auth and Social API projects

It adds to the site:
* A new url: /user/login/google.
* A settings form on /admin/config/social-api/social-auth/google page.
* A Google+ Logo in the Social Auth Login block.

REQUIREMENTS
------------

This module requires the following modules:

 * Social Auth (https://drupal.org/project/social_auth)
 * Social API (https://drupal.org/project/social_api)

RECOMMENDED MODULES
-------------------

 * Composer Manager (https://www.drupal.org/project/composer_manager):
   This module will help to install the Google API PHP Client library,
   which is a library required to make user authentication.

INSTALLATION
------------

 * Download Google API PHP Client library
   (https://github.com/google/google-api-php-client). We recommend to use
   Composer Manager module to install the library.

 * Install the dependencies: Social API and Social Auth.

 * Install as you would normally install a contributed Drupal module. See:
   https://drupal.org/documentation/install/modules-themes/modules-8
   for further information.

 * A more comprehensive installation instruction for Drupal 8 can be found at
   https://www.drupal.org/node/2764227.

CONFIGURATION
-------------

 * Add your Google project OAuth information in
   Configuration » User Authentication » Google.

 * Place a Social Auth Login block in Structure » Block Layout.

 * If you already have a Social Auth Login block in the site, rebuild the cache.


HOW IT WORKS
------------

User can click on the Google+ logo on the Social Auth Login block
You can also add a button or link anywhere on the site that points 
to /user/login/google, so theming and customizing the button or link
is very flexible.

When the user opens the /user/login/google link, it automatically takes
user to Google Accounts for authentication. Google then returns the user to
Drupal site. If we have an existing Drupal user with the same email address
provided by Google, that user is logged in. Otherwise a new Drupal user is
created.

SUPPORT REQUESTS
----------------

Before posting a support request, carefully read the installation
instructions provided in module documentation page.

Before posting a support request, check Composer Manager status report at
admin/reports/composer-manager. This status page will show the Google API PHP
Client version if Drupal can detect it.

Before posting a support request, check Recent log entries at
admin/reports/dblog

Once you have done this, you can post a support request at module issue queue:
https://www.drupal.org/sandbox/gvso/2763739

When posting a support request, please inform what does the status report say
at admin/reports/composer-manager and if you were able to see any errors in
Recent log entries.

File

README.txt
View source
  1. SOCIAL AUTH GOOGLE MODULE
  2. CONTENTS OF THIS FILE
  3. ---------------------
  4. * Introduction
  5. * Requirements
  6. * Recommended modules
  7. * Installation
  8. * Configuration
  9. * How it works
  10. * Support requests
  11. INTRODUCTION
  12. ------------
  13. Social Auth Google Module is a Google Authentication integration for Drupal. It
  14. is based on the Social Auth and Social API projects
  15. It adds to the site:
  16. * A new url: /user/login/google.
  17. * A settings form on /admin/config/social-api/social-auth/google page.
  18. * A Google+ Logo in the Social Auth Login block.
  19. REQUIREMENTS
  20. ------------
  21. This module requires the following modules:
  22. * Social Auth (https://drupal.org/project/social_auth)
  23. * Social API (https://drupal.org/project/social_api)
  24. RECOMMENDED MODULES
  25. -------------------
  26. * Composer Manager (https://www.drupal.org/project/composer_manager):
  27. This module will help to install the Google API PHP Client library,
  28. which is a library required to make user authentication.
  29. INSTALLATION
  30. ------------
  31. * Download Google API PHP Client library
  32. (https://github.com/google/google-api-php-client). We recommend to use
  33. Composer Manager module to install the library.
  34. * Install the dependencies: Social API and Social Auth.
  35. * Install as you would normally install a contributed Drupal module. See:
  36. https://drupal.org/documentation/install/modules-themes/modules-8
  37. for further information.
  38. * A more comprehensive installation instruction for Drupal 8 can be found at
  39. https://www.drupal.org/node/2764227.
  40. CONFIGURATION
  41. -------------
  42. * Add your Google project OAuth information in
  43. Configuration » User Authentication » Google.
  44. * Place a Social Auth Login block in Structure » Block Layout.
  45. * If you already have a Social Auth Login block in the site, rebuild the cache.
  46. HOW IT WORKS
  47. ------------
  48. User can click on the Google+ logo on the Social Auth Login block
  49. You can also add a button or link anywhere on the site that points
  50. to /user/login/google, so theming and customizing the button or link
  51. is very flexible.
  52. When the user opens the /user/login/google link, it automatically takes
  53. user to Google Accounts for authentication. Google then returns the user to
  54. Drupal site. If we have an existing Drupal user with the same email address
  55. provided by Google, that user is logged in. Otherwise a new Drupal user is
  56. created.
  57. SUPPORT REQUESTS
  58. ----------------
  59. Before posting a support request, carefully read the installation
  60. instructions provided in module documentation page.
  61. Before posting a support request, check Composer Manager status report at
  62. admin/reports/composer-manager. This status page will show the Google API PHP
  63. Client version if Drupal can detect it.
  64. Before posting a support request, check Recent log entries at
  65. admin/reports/dblog
  66. Once you have done this, you can post a support request at module issue queue:
  67. https://www.drupal.org/sandbox/gvso/2763739
  68. When posting a support request, please inform what does the status report say
  69. at admin/reports/composer-manager and if you were able to see any errors in
  70. Recent log entries.