Skip to content

Add FranceConnect Login

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

Register Asgardeo 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 Asgardeo.

  1. On the Asgardeo 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 Asgardeo
  5. Enter the following details and click Finish:

    Parameter Description
    Client ID The client ID obtained from FranceConnect.
    Client secret The client secret obtained from FranceConnect.
    Authorised redirect URL Provide the Authorised redirect URL of your FranceConnect connection. For example https://app.franceconnect.gouv.fr/api/v1/authorize.
    Token Endpoint URL Provide the Token endpoint URL of your FranceConnect connection. For example https://app.franceconnect.gouv.fr/api/v1/token.

    Enter FranceConnect's Endpoint details Asgardeo 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 URL Provide 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 Asgardeo. You can register your own application or use one of the sample applications provided.

  1. On the Asgardeo 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 Asgardeo

    To add FranceConnect login using the Visual Editor:

    1. Switch to the Visual Editor tab, by default the Username & Password login flow will be added onto the Visual Editor's workspace.
    2. Click on + Add Sign In Option to add a new authenticator to the same step and select your FranceConnect connection. Add FranceConnect login in Asgardeo

    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 Asgardeo login page.

  3. On the Asgardeo 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.