Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Facets 3.0.6 Minor update available for module facets (3.0.6). Release: Facets 3.0.5 Minor update available for module facets (3.0.5). Release: Flag 5.1.0 Minor update available for module flag (5.1.0). Release: Ágora Transparency Theme 1.0.7 Minor update available for theme agora_theme (1.0.7). Release: Automated Revision Log 1.1.3 Minor update available for module ai_revision_log (1.1.3). Release: Views HTTP Client 1.0.4 Minor update available for module views_http_client (1.0.4). Release: Block Layout Accordion 1.0.2 Minor update available for module block_layout_accordion (1.0.2). Release: Canvas interactive toggle 1.0.2 Minor update available for module canvas_interactive_toggle (1.0.2). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

OpenID Connect / OAuth client

30,974 sites Security covered Drupal 9–10 · not 11
View on drupal.org

This module allows users to log in to your Drupal site using an external OpenID Connect provider like Google or Facebook. When a new user logs in for the first time, their Drupal account is automatically created.

The OpenID Connect module provides a pluggable client implementation for the OpenID Connect protocol.

The server implementation of the protocol is provided by the Simple OAuth (OAuth2) & OpenID Connect or the OAuth2 Server modules.

What is OpenID Connect?

http://openid.net/connect:

OpenID Connect 1.0 is a simple identity layer on top of the OAuth 2.0 protocol. It allows Clients to verify the identity of the End-User based on the authentication performed by an Authorization Server, as well as to obtain basic profile information about the End-User in an interoperable and REST-like manner.

What does the module do?

The module allows you to use an external OpenID Connect login provider to authenticate and log in users on your site. If a user signs in with a login provider for the first time on the website, a new Drupal user will be created.

Google for instance uses OpenID Connect to authenticate users across all of their services. Check out the OpenID Foundation's announcement of launching OpenID Connect.

Features

For a more detailed description and instructions please refer to the documentation.

Supported login providers

Each login provider needs a client, represented by a plugin.
The module ships with the following plugins:

  • Generic OAuth 2.0
  • Facebook
  • Github
  • Google
  • LinkedIn
  • Okta

The generic client allows to you specify the endpoints and is used primarily to login to Drupal sites using the Simple OAuth (OAuth2) & OpenID Connect or the OAuth2 Server modules or PHP sites powered by oauth2-server-php.

The plugin system allows further modules to provide their own clients:

Fetching user profile information

Basic user profile information stored by the login provider can be fetched upon login.
The OpenID Connect specification defines a set of standard Claims. Requested user profile information can be saved on the client site, mapping can be configured via a UI.

Sign in block

A standard Drupal block is available to sign in with the login providers for which clients are enabled. A single button is shown for each login provider.

Credits

Thanks to Bojan Živanović for helping to architect the module.

🇺🇦

#StandWithUkraine
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

5 tracked projects depend on this one

Activity

Tracked releases
7
Tracked since
Dec 2024
Latest release
1 day ago
Releases (12 mo)
4 ▲ from 3
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.0.0-alpha9 Pre-release 10–11 Aug 31, 2026
3.0.0-alpha8 Pre-release 10–11 Mar 11, 2026
3.0.0-alpha7 Pre-release 10–11 Mar 4, 2026
8.x-1.5 Stable 9–10 Mar 4, 2026
3.0.0-alpha6 Pre-release 10–11 Feb 13, 2025
3.0.0-alpha5 Pre-release 9–11 Dec 30, 2024
3.0.0-alpha4 Pre-release 9–11 Dec 12, 2024