Releases: okta/okta-react
Releases · okta/okta-react
6.1.0
Features
- #67 Adds
loadingElement
prop to LoginCallback
component
Bug Fixes
- #146 Fixed TypeScript definitions
- #112 Only unsubscribe the
AuthStateManager
handler subscribed by <Security />
- #152 Fix token auto renew by using @okta/okta-auth-js ^5.2.3
3.0.11
Bug Fixes
- #150 fixes issue with displaying error in
LoginCallback
6.0.0
Breaking Changes
- #120 Requires @okta/okta-auth-js 5.x
- Initial
AuthState
is null
- Removed
isPending
from AuthState
- Default value for
originalUri
is null
- #127 Moves @okta/okta-auth-js from dependencies list to peerDependencies
5.1.2
Bug Fixes
- #122 Locks the SDK with installed okta-auth-js major version
5.1.1
Bug Fixes
- #105 Catches and displays errors in
LoginCallback
5.1.0
Features
- #104 Adds support for
onAuthResume
to LoginCallback
for interaction_required
OAuth errors (requires okta-auth-js 4.8+)
5.0.0
Breaking Changes
- #71 Adds required prop
restoreOriginalUri
to Security
that will override restoreOriginalUri
callback of oktaAuth
4.1.0
- #56
OktaContext::OnAuthRequiredFunction
return type is updated to Promise<void> | void
4.0.0
Breaking Changes
- #8 See MIGRATING for detailed information.
- Replaces
authService
with instance of @okta/okta-auth-js
so all configuration options and public methods are available.
- By default
isAuthenticated
will be true if both accessToken and idToken are valid
- Changes
@okta/okta-auth-js
as peerDependency
Features
- #8 Accepts
onAuthRequired
prop in SecureRoute
component to override the existing callback for the route
- #39 Exposes ES module bundle from package
module
field
- #44 Adds support for Typescript
3.0.10
Bug Fixes
- #36 fixes issue with
SecureRoute
that caused multiple calls to login()