Git Product home page Git Product logo

react-oidc's Introduction

@axa-fr/react-oidc

Build status Quality Gate Reliability Security Code Corevage Twitter

Sample React Oicd

A set of react components and HOC to make Oidc (OpenID Connect) client easy. It aim to simplify OAuth authentication between multiples providers.

About

These components is used to manage client authentication. It uses the libraries "oidc client".

Two version of the component with different "State management" are available :

  • with redux
  • with react context api

Getting Started

Examples

How It Works

These components encapsulate the use of "oidc client" in order to hide workfow complexity. Internally, native History API is used to be router library agnostic.

Concept

A set of react components and HOC to make Oidc client easy!

The purpose of the component is :

  • Simple set up
  • React component protection (by composing)
  • Standardize the "Routes" used by the oauth flow
  • Manage the recovery of tokens and different exchanges with "openid connect" server
  • Flexible : You can customize routes and redirect components if you need it
  • HOC => override "fetch" in order to retrieve a new "fetch" that will be able to manage http 401 and http 403 response.

Contribute

react-oidc's People

Contributors

guillaumechervetaxa avatar dependabot[bot] avatar dependabot-preview[bot] avatar mergify[bot] avatar ghostd avatar dependabot-support avatar guillaume-chervet avatar cyril-lakech avatar youf-olivier avatar arnaudforaison avatar hamzahamidi avatar citypaul avatar jforatier avatar jlou avatar rpetigny avatar julienbirgand avatar jreimbold-t1 avatar tlaukkanen avatar thiesbarry avatar codacy-badger avatar michael-wolfenden avatar snaptags avatar madebymaurice avatar cheets avatar sebo1000 avatar bogala 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.