Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
bin
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

identity-provider-example

An implementation example of a FranceConnect Identity Provider.

Prerequisites

This server use nodejs version 12.16.

Install

git clone git@github.com:france-connect/identity-provider-example.git
cd identity-provider-example
npm install

Run the app

npm start

Optional: run it in debug mode:

DEBUG=oidc-provider:* npm start

Use the app

When you start the app, the server is available at : http://localhost:5000.

To emulate a click on an identity provider on /api/v1/authorize page of franceconnect website click on the button below:

identity-provider-button

You should be redirected to your local server.

You can use the following test credentials : test | 123

More credentials are available here.

As your local server is not registered in FranceConnect, you will be redirected to a FranceConnect error page after successful login.

Run the Tests

npm test

About

An example of an Identity Provider for FranceConnect

Resources

Releases

No releases published

Packages

No packages published