sandybemonkey / fd_mock

fd mock fc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

data-providers-examples

An example of Data Provider for FranceConnect.

The way a data provider works is explained in FranceConnect documentation.

Install

Run the following commands:

git clone git@github.com:france-connect/data-providers-examples.git
cd data-providers-examples
npm install

You can then start the server with:

npm start

Note that when calling the application this will call an internal mock of FranceConnect integration server. To hit the actual fcp.integ01.dev-franceconnect.fr remote server, run the server with:

LOCAL_LOOP=false npm start

Run the tests

Run the tests with:

npm test

About

fd mock fc


Languages

Language:JavaScript 100.0%