This module is a project branched from GAuth. This used to be a part of GAuth, now separated out in drupal 8. GAuth is now merged with Google Api Client for in drupal 8.

Why we need Google Authenticaiton for users?
Google Api Client provides the basic OAuth2 authentication for google apis using Google Api PHP Client, It is helpful where admins want to configure the site to use google apis and operate on the company google account or one google account which is like a one time setup.

Google Authentication for Users will provide options to open up any Google Api Client account for end user or site users. Admins can configure which Google Api Client accounts are enabled, Set permissions which accounts are allowed to be authenticated based on role.
Users with the permission can authenticate specific account. Example:
For a given drupal site if we want that we create a calendar event on the users calendar who want to subscribe for upcoming events of the organization. Here admin can setup one Google Api PHP Client account. Configure this module to allow this account to be authenticated by the user. This module provides UI for users to authenticate or the site developers can have there own UI. User is shown the OAuth consent screen which is configured in the Google console. They see what permissions site admins have configured like here it can be create events on calendar permission. Users allow/grant access and we save the authentication information in a different entity as GAuthUser. This can then be used for creating event on user's calendar when we post a event, etc.

So this module provides these options and configurations so that a site devloper/admin can manage OAuth access for user accounts and use that authentication.

You can read more about OAuth at Using OAuth 2.0 to Access Google APIs. This module saves the user authentication and then our app uses the offline authentication to make google api calls.

Requirements:
This module depens on Google Api Client for authentication, etc.

Drupal 7 GAuth users will have a migration to migrate there authenticated accounts to this module.

Project information

Releases