4.0.0-beta1 • Published 4 years ago

redux-oidc v4.0.0-beta1

Weekly downloads
13,706
License
MIT
Repository
github
Last release
4 years ago

redux-oidc

Build Status

A package for managing OpenID-Connect authentication in ReactJS / Redux apps. It wraps the popular oidc-client library to redux actions and reducers.

Description

This package handles OpenID-Connect authentication in redux apps. It enables redux apps to authenticate with an external OIDC authentication provider and handles the actions of the OpenID implicit flow or authorization code flow.

It uses the oidc-client-js library to manage OpenID Connect functionality.

It contains the following parts:

  • CallbackComponent: A react component processing the signin callback from the OpenID-Connect provider,
  • SignoutCallbackComponent: A react component processing the signout callback from the OpenID-Connect provider,
  • reducers & actions: reducers and actions to handle OIDC events,
  • helpers: create helpers to manage the oidc-client-js library

Installation

npm install --save redux-oidc

Peer dependencies

This package wraps oidc-client-js to use with ReactJS / Redux apps. Install oidc-client like this:

npm install --save oidc-client

In addition there is a peer dependency for immutable.js, if you want to use it.

babel-polyfill

You need the babel-polyfill in your build configuration for this package to work.

Version 4 released

BREAKING CHANGE: immutable is no longer a dependency. If you are using the immutable reducer, please check out the docs.

Documentation

You can find the docs for version 3 here:

Note for react-native users

This library doesn't fully support react-native apps. Please use this library instead.

Version 2

Check out the wiki for further information for Version 2 (deprecated).

Sample app

There is a sample application demonstrating the use of this package here.

Tests

You have to install immutableJS for all the tests to pass: npm install immutable --no-save. Then run npm run test.

4.0.0-beta1

4 years ago

3.1.7

4 years ago

3.1.6

4 years ago

3.1.5

5 years ago

3.1.4

5 years ago

3.1.3

5 years ago

3.1.2

5 years ago

3.1.1

5 years ago

3.1.0

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

3.0.0-beta.17

6 years ago

3.0.0-beta.16

6 years ago

3.0.0-beta.15

6 years ago

3.0.0-beta.14

6 years ago

3.0.0-beta.13

6 years ago

3.0.0-beta.12

7 years ago

3.0.0-beta.11

7 years ago

3.0.0-beta.10

7 years ago

3.0.0-beta.9

7 years ago

3.0.0-beta.8

7 years ago

3.0.0-beta.7

7 years ago

3.0.0-beta.6

7 years ago

3.0.0-beta.5

7 years ago

3.0.0-beta.4

7 years ago

3.0.0-beta.3

7 years ago

3.0.0-beta.2

7 years ago

3.0.0-beta.1

7 years ago

2.2.2-beta.1

7 years ago

2.2.1

8 years ago

2.2.0

8 years ago

2.2.0-beta.3

8 years ago

2.2.0-beta.2

8 years ago

2.2.0-beta.1

8 years ago

2.1.0

8 years ago

2.1.0-beta.3

8 years ago

2.1.0-beta.2

8 years ago

2.1.0-beta.1

8 years ago

2.0.2-beta.1

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

2.0.0-beta.2

8 years ago

2.0.0-beta.1

8 years ago

2.0.0-alpha.1

8 years ago

1.1.14

8 years ago

1.1.13

8 years ago

1.1.12

8 years ago

1.1.11

8 years ago

1.1.11-beta1

8 years ago

1.1.10

8 years ago

1.1.9

8 years ago

1.1.8

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago