Socket
Book a DemoInstallSign in
Socket

fi-example

Package Overview
Dependencies
Maintainers
7
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fi-example

An implementation example of a FranceConnect Identity Provider.

0.0.17
latest
Source
npmnpm
Version published
Weekly downloads
1
-66.67%
Maintainers
7
Weekly downloads
 
Created
Source

identity-provider-example

An implementation example of a FranceConnect Identity Provider.

  • General documentation
  • the code on this repo is automatically deployed as the "Exemple" 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

FAQs

Package last updated on 20 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.