Code Monkey home page Code Monkey logo

identity-provider-example's Introduction

identity-provider-example

An implementation example of a FranceConnect Identity Provider.

Prerequisites

This server use nodejs version 12.16.

Install

git clone [email protected]: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

identity-provider-example's People

Contributors

alain-charles avatar alpilloy avatar benratti avatar dependabot[bot] avatar flightan avatar g4vroche avatar gabrielrosset avatar gharry-betagouvfr avatar icdc-jeremy avatar jerbland avatar jhellings avatar jpc-1 avatar kenjinsama avatar lmdmb avatar melanieroge avatar olivierdelalande avatar patama avatar rdubigny avatar sandybemonkey avatar sbakkach avatar scheheb avatar sixertoy avatar smedlej avatar testpiebdf avatar toniobuisson avatar toto-le-motard avatar valentinbonnard avatar valentinbonnard03 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.