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). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). 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 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.

Activity

Total releases
4
First release
Jul 2025
Latest release
9 months ago
Releases (12 mo)
3 ▲ from 1
Maintenance
Slowing

Release Timeline

Releases

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