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.0
are not present in this release.
[Breaking Changes]
makeAuthenticator
now 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
signinRedirect
call. @FizzBuzz791
v0.4.0-alpha.0
v0.4.0-alpha.0
- Added a
SignoutCallback
component. This is to be rendered at the "end session" endpoint declared by the OIDC Identity Provider. It works the same way as theCallback
component for signing in.
Note that these changes are not present in
v1.0.0
or later. See #11 to track this feature.
[Breaking Changes]
- Calling signOut from the
UserData.Consumer
component will now make a call to thesignoutRedirect()
method ofUserManager
. This requires a route to be declared at the appropriate "end session" endpoint, using theSignoutCallback
component mentioned above.
v0.3.0
v0.3.0
[Breaking Changes]
- Changed
UserData
to export bothProvider
andConsumer
. References toUserData
should be updated toUserData.Consumer
. @FizzBuzz791
v0.2.1
TypeScript & auth0 changes
0.1.2
- Allow the props of the component wrapped by
makeAuthenticator
to be specified. - Allow passing of
domain
andaudience
to the UserManager constructor (for compatibility with auth0)