Skip to main content

Add FranceConnect Login

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

FranceConnect is a digital authentication solution provided by the French government. It allows users to log in to various online services using their FranceConnect credentials. This guide will help you set up FranceConnect login in WSO2 Identity Platform.

Register WSO2 Identity Platform on FranceConnect​

  1. Log in to the FranceConnect Portal.
  2. You will get the Client ID and Client Secret from the FranceConnect application.
  3. Enter the following as the Redirect URL:
    • Authorization callback URL
      https://api.asgardeo.io/t/{organization_name}/commonauth

Register the FranceConnect Login​

Now, let's register the FranceConnect in WSO2 Identity Platform.

  1. On the WSO2 Identity Platform Console, go to Connections.

  2. Click New Connections and select Standard-based Idp.

  3. Click Create.

  4. Enter a unique name for your FranceConnect connection.

    Add FranceConnect in WSO2 Identity Platform
  5. Enter the following details and click Finish:

    ParameterDescription
    Client IDThe client ID obtained from FranceConnect.
    Client secretThe client secret obtained from FranceConnect.
    Authorised redirect URLProvide the Authorised redirect URL of your FranceConnect connection. For example https://app.franceconnect.gouv.fr/api/v1/authorize.
    Token Endpoint URLProvide the Token endpoint URL of your FranceConnect connection. For example https://app.franceconnect.gouv.fr/api/v1/token.

    Enter FranceConnect's Endpoint details WSO2 Identity Platform
  6. Click Next

  7. You can enter JWKS endpoint URL of France Connect or upload the public certificate. This step is not mandatory while creating the connection.

    JWKS endpoint URLProvide the JWKS endpoint URL of your FranceConnect organization. For example https://app.franceconnect.gouv.fr/api/v1/jwks.
  8. Click Finish.

Enable FranceConnect login​

Before you begin

You need to register an application with WSO2 Identity Platform. You can register your own application or use one of the sample applications provided.

  1. On the WSO2 Identity Platform Console, go to Applications.

  2. Select your application, go to the Login Flow tab and add FranceConnect login from your preferred editor:

    To add FranceConnect login using the Classic Editor:

    1. If you haven't already defined a sign-in flow, click Start with Default configuration to get started.
    2. Click Add Authentication on the step, select your FranceConnect identity provider, and click Add. Add FranceConnect login in WSO2 Identity Platform

    Recommendations

    It is recommended to add your social and enterprise connections to the first authentication step as they are used for identifying the user.

  3. Click Update to save your changes.

Try it out​

Follow the steps given below.

  1. Access the application URL.

  2. Click Login to open the WSO2 Identity Platform login page.

  3. On the WSO2 Identity Platform login page, Sign in with FranceConnect.

    Login with FranceConnect
  4. Log in to FranceConnect with an existing eID.

    Login with FranceConnect IdPs

Configure connection​

To learn more about other configurations available for the connection, refer to the add federated login documentation.

Was this page helpful?