A package for managing OpenID Connect authentication in ReactJS / Redux apps
MIT License
Bot releases are hidden (Show)
Published by maxmantz over 7 years ago
Added TypeScript definition file (#53).
Published by maxmantz over 7 years ago
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.Published by maxmantz over 7 years ago
API changes:
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.babel-polyfill
to your silent renew page. See the example app for details.Peer dependencies:
Published by maxmantz over 7 years ago
Published by maxmantz over 7 years ago
Changes:
SILENT_RENEW_ERROR
now clears the user object from state.Published by maxmantz over 7 years ago
Bug fixes:
USER_FOUND
& USER_EXPIRED
after silent renew failed or page was manually reloaded (issue #30).Published by maxmantz over 7 years ago
Published by maxmantz almost 8 years ago
API Changes:
<CallbackComponent />
now requires a child element,route
is no longer needed in <CallbackComponent/>
.Fixes:
USER_EXPIRED
wouldn't set the user to null
(#23).Other changes:
Published by maxmantz almost 8 years ago
API changes:
createOidcMiddleware()
now only needs the userManager
as an argument,OidcProvider
now needs the userManager
as a prop,childContext
in OidcProvider
,shouldValidate
- user is now always validated,triggerAuthFlow
- the sign in process now always needs to be started manually.Internal changes:
co
to handle the async nature of oidc-client and it's userStore
.window.localStorage
or window.location
to support SSR & react-native.Published by maxmantz almost 8 years ago
userSignedOut
event of oidc-client.Published by maxmantz about 8 years ago
callbackRoute
to fix a breaking change introduced in version 2.2.0-beta.1
(#11).Published by maxmantz about 8 years ago
oidc-client
minimum version to 1.2.0
Published by maxmantz about 8 years ago
<CallbackComponent />
: added an optional prop called route
to pass to the user manager (see issue #14),window.location.pathname
instead of window.location.href
to the callback state to fix a warning when used with react-router.Published by maxmantz about 8 years ago
Published by maxmantz about 8 years ago
'/callback'
, see documentation for details),triggerAuthFlow
in the middleware creator function is now undefined
by default (was true
in previous versions),oidc-client
).Published by maxmantz about 8 years ago
Published by maxmantz about 8 years ago
Published by maxmantz about 8 years ago
oidc-client
& immutable
from build.Published by maxmantz about 8 years ago
<CallbackComponent />
errorCallback
is now a prop. It takes a function which gets the redirect error passed in.oidc-client-js
is now a peer dependency. You will have to install it manually running npm install --save oidc-client
.Published by maxmantz over 8 years ago
oidc-client
version to 1.1.0-beta.3
.