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).

This module allows users to log in to a Drupal site using FranceConnect V2. It extends the openid_connect module to meet FranceConnect's specific requirements, including automatically deactivating user fields according to qualification rules and providing a block for FranceConnect login. The module also manages mandatory cinematics and displays explicit error messages from FranceConnect.

The module is now available!

Allows connection via FranceConnect V2 (No Franceconnect+), at managing authentication and compliance with the qualification rules required by FranceConnect.


Features

This module allows you to connect to a Drupal site using Franceconnect V2, once configured. Version 1 of Franceconnect will no longer be available in September 2025.

It is based on the openid_connect module and extends it to meet FranceConnect's specific requirements.

  • Automatically deactivates user fields covered by the identite_pivot scope, in accordance with FranceConnect qualification rules.
  • Provides a block that can be placed by the administrator to display a FranceConnect connection
  • Manages mandatory cinematics
  • Displays explicit error messages in the event of problems reported by FranceConnect during cinematics.

Note : this module does not manage account reconciliation.


Pre-installation requirements

Before installing and configuring this module, you need to :

  • Have an integrated environment.
  • Have obtained FranceConnect accreditation eidas1 only. The module does not manage eidas2 or eidas3.
  • Request access to the FranceConnect Sandbox to obtain a Client ID and Secret Client for your integration environment.

    In this request, for the connection redirection url you must enter the following URL: https://url_of_your_service_env_integration/openid-connect/franceconnect.

    For the disconnection redirection url, you must enter the following URL: https://url_de_votre_service_env_integration/franceconnect/logout-callback

  • Have a domain name that is exposed to the Internet, or at least accessible from the IP addresses provided by FranceConnect when requesting access to the sandbox.


Post-installation

Once the module has been installed, you need to configure it:


Defining scopes and claims

Go to the claims configuration page: /admin/config/franceconnect/claims. This form shows you the claims available from FranceConnect. For each claim you are interested in, you must select the associated scope, in accordance with your FranceConnect authorisation.


Configuring the OpenID Connect FranceConnect client

Go to /admin/config/services/openid-connect. Tick the FranceConnect provider. Fill in the Client ID, the Client Secret and the sandbox URLs supplied by FranceConnect.
In the User Claims Mapping section, associate the previously configured claims configured to the user fields on your site.


Placing the FranceConnect block

Go to the block presentation page. Add the FranceConnect block to the /user/login and /user/register pages. ️To comply with FranceConnect display requirements, the block must be placed before the login and registration forms. If your URLs have been customised, adapt the configuration accordingly in Configuration → Pages.


Going in production

At this stage, your module is configured: the FranceConnect button is visible on the appropriate pages, and the user information will be mapped according to the chosen claims.

After your tests, you will need to submit a qualification request to FranceConnect to validate compliance with the requirements.

Once the module has been qualified, you must request access to the franceconnect production environment and install this module on your own production environment and configure it by adapting the client identifier, secret client and production URLs.


Dependencies

This module requires :

These dependencies are automatically installed when this module is installed.


Similar projects

There are currently two franceconnect modules : franceconnect and oidc_franceconnect that meet the technical requirements for franceconnect V1.

This proposed module differs in that it focuses on the requirements of franceconnect V2.

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
4
Tracked since
Jul 2025
Latest release
10 months ago
Releases (12 mo)
1 ▼ from 3
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.0.0-beta1 Pre-release 8–10 Oct 8, 2025
1.0.0-alpha3 Pre-release 8–10 Aug 4, 2025
1.0.0-alpha2 Pre-release 8–10 Aug 4, 2025
1.0.0-alpha1 Pre-release 8–10 Jul 7, 2025