Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Google OAuth Login

185 sites Security covered Drupal 8–11
View on drupal.org

This module allows users to register and log in to your Drupal site using their Google account. It stores the user's Google information in the Drupal user table.

Simple Google Login allows users to register and login to your Drupal site with their Google account.

Google OAuth API PHP library helps web developer to integrate google login system by the quick, easy and powerful way. Once logged via Google Application, we'll store the user information into the user table.

The Google OAuth PHP library will be used in our script that supports OAuth for Google JSON Response.

Google Project Creation

  1. Go to the Google Developers Console
  2. Select an existing project, or create a new project by clicking Create Project:
    • In the Project name field, type in a name for your new project.
    • In the Project ID field, the console has created project ID. Optionally you can type in a project ID for your project. But project ID must be unique worldwide.
    • Click on the Create button and the project to be created in some seconds. Once the project is created successfully, the project name would be appearing at the top of the left sidebar.
  3. In the sidebar, select Credentials under the APIs & Auth section.
  4. In the OAuth section of the page, select Create New Client ID.
    • Create Client ID dialog box would be appearing for choosing application type.
    • In the Application type section of the dialog, select Web application and click on the Configure consent screen button.
    • Choose Email address, enter the Product name and save the form.
    • In the Authorized JavaScript origins field, enter your app origin. If you want to allow your app to run on different protocols, domains, or subdomains, then you can enter multiple origins.
    • In the Authorized redirect URI field, enter the redirect URL.
    • Click on Create Client ID.



Migration to 9.x branch
This is a major rewrite from 4.x and this branch makes use of latest google api so consider this as a fresh install.
You need to reconfigure the module as well as change the callback url in the google api console.
Also reconfigure the icon display.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
May 2025
Latest release
11 months ago
Releases (12 mo)
3
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
8.x-9.9 Stable 8–11 Sep 10, 2025
8.x-9.8 Stable 8–11 Sep 9, 2025
8.x-9.6 Stable 8–11 Sep 5, 2025
8.x-9.5 Stable 8–11 May 25, 2025
8.x-9.4 Stable 8–11 May 25, 2025
8.x-9.3 Stable 8–11 May 17, 2025