Skip to content
An example of an Identity Provider for FranceConnect
Branch: master
Clone or download
Latest commit 11d0fa0 May 20, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci add circleci configuration Nov 12, 2018
bin Use transpiled files in production Apr 23, 2019
data add ANTS identities May 20, 2019
src add ANTS identities May 20, 2019
test/services Split server start and add transpilation Apr 18, 2019
.babelrc Comply to code convention/linter Apr 18, 2019
.eslintrc.js major refactor + complete redesign Jan 8, 2019
.gitignore add ANTS identities May 20, 2019
.huskyrc Remove useless newline Apr 23, 2019 Update May 13, 2019
database.csv Update database.csv May 7, 2019
package.json NPM version bump 🚀 Apr 23, 2019


An implementation example of a FranceConnect Identity Provider.


This server use nodejs version 8.12.


git clone
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:


You should be redirected to your local server.

You can use the following test credentials : 3_melaine | 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
You can’t perform that action at this time.