Skip to content

Releases: maxmantz/redux-oidc

v3.0.0-beta.9

17 Jul 21:26
Compare
Choose a tag to compare
v3.0.0-beta.9 Pre-release
Pre-release

Added TypeScript definition file (#53).

v3.0.0-beta.8

12 Jul 08:09
Compare
Choose a tag to compare
v3.0.0-beta.8 Pre-release
Pre-release

Dependency changes:

  • co was causing trouble, so it has been removed as a peer dependency.

API Changes:

  • LOAD_USER_ERROR is now dispatched when an error occurred during login.

v3.0.0-beta.7

08 May 18:59
Compare
Choose a tag to compare
v3.0.0-beta.7 Pre-release
Pre-release

API changes:

  • added a new helper function loadUser to this library. It takes the redux store and userManager as parameters and loads the current user into the reducers when the app loads. When you are using silent renew, this helper function makes the oidc middleware redundant. See the example app for details on how to use it.
  • you will have to import babel-polyfill to your silent renew page. See the example app for details.

Peer dependencies:

v3.0.0-beta.6

27 Apr 10:02
Compare
Choose a tag to compare
v3.0.0-beta.6 Pre-release
Pre-release
  • the middleware now doesn't catch any errors to prevent unclear error messages when debugging other middlewares (see issue #36).

v3.0.0-beta.5

27 Mar 06:43
Compare
Choose a tag to compare
v3.0.0-beta.5 Pre-release
Pre-release

Changes:

  • SILENT_RENEW_ERROR now clears the user object from state.

v3.0.0-beta.4

25 Mar 18:25
Compare
Choose a tag to compare
v3.0.0-beta.4 Pre-release
Pre-release

Bug fixes:

  • fixed an infinite loop of dispachtes of USER_FOUND & USER_EXPIRED after silent renew failed or page was manually reloaded (issue #30).

v3.0.0-beta.3

20 Jan 11:03
Compare
Choose a tag to compare
v3.0.0-beta.3 Pre-release
Pre-release
  • fixed issue #23 in immutable reducer

v3.0.0-beta.2

19 Jan 13:02
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release

API Changes:

  • <CallbackComponent /> now requires a child element,
  • route is no longer needed in <CallbackComponent/>.

Fixes:

  • fixed bug where USER_EXPIRED wouldn't set the user to null (#23).

Other changes:

  • updated dev dependencies.

v3.0.0-beta.1

13 Jan 17:40
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

API changes:

  • createOidcMiddleware() now only needs the userManager as an argument,
  • OidcProvider now needs the userManager as a prop,
  • no more childContext in OidcProvider,
  • dropped shouldValidate - user is now always validated,
  • dropped triggerAuthFlow - the sign in process now always needs to be started manually.

Internal changes:

  • introduced co to handle the async nature of oidc-client and it's userStore.
  • no more reliance on window.localStorage or window.location to support SSR & react-native.
  • several smaller changes

v2.2.2-beta.1

10 Jan 18:21
Compare
Choose a tag to compare
v2.2.2-beta.1 Pre-release
Pre-release
  • added mapping to the userSignedOut event of oidc-client.