Releases: thchia/react-oidc
Releases · thchia/react-oidc
v1.0.3
v1.0.2
v1.0.0
v1.0.0
- Pass through props from the return value of
makeAuthenticator. @chriskolenko - Fixed for vulnerabilities in
- lodash
- react-dom
Note that the pre-release changes in
v0.4.0-alpha.0are not present in this release.
[Breaking Changes]
makeAuthenticatornow expects a reference to the component to be wrapped, rather than the instance itself:
// Before:
const AppWithAuth = makeAuthenticator({
... config
})(<App />)
// After:
const AppWithAuth = makeAuthenticator({
... config
})(App)This allows for the props specified in <AppWithAuth {...props} /> to be passed down to App.
v0.3.2
v0.3.1
v0.3.1
- Allow arguments to be passed to the
signinRedirectcall. @FizzBuzz791
v0.4.0-alpha.0
v0.4.0-alpha.0
- Added a
SignoutCallbackcomponent. This is to be rendered at the "end session" endpoint declared by the OIDC Identity Provider. It works the same way as theCallbackcomponent for signing in.
Note that these changes are not present in
v1.0.0or later. See #11 to track this feature.
[Breaking Changes]
- Calling signOut from the
UserData.Consumercomponent will now make a call to thesignoutRedirect()method ofUserManager. This requires a route to be declared at the appropriate "end session" endpoint, using theSignoutCallbackcomponent mentioned above.
v0.3.0
v0.3.0
[Breaking Changes]
- Changed
UserDatato export bothProviderandConsumer. References toUserDatashould be updated toUserData.Consumer. @FizzBuzz791
v0.2.1
TypeScript & auth0 changes
0.1.2
- Allow the props of the component wrapped by
makeAuthenticatorto be specified. - Allow passing of
domainandaudienceto the UserManager constructor (for compatibility with auth0)