Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows users to authenticate with Google accounts, enabling Drupal sites to access Google APIs on their behalf. It provides administrative controls for managing which Google accounts are enabled and which user roles can authenticate, facilitating features like creating calendar events.

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.

Activity

Total releases
1
First release
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
8.x-1.0-beta3 Pre-release Feb 18, 2025