Skip to content

Releases: okta/okta-react

6.1.0

27 Jul 16:25
5642b55
Compare
Choose a tag to compare

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

26 Jul 15:35
97fb325
Compare
Choose a tag to compare

Bug Fixes

  • #150 fixes issue with displaying error in LoginCallback

6.0.0

14 Jun 21:10
fa7c9e6
Compare
Choose a tag to compare

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

13 May 19:36
f4ae6fd
Compare
Choose a tag to compare

Bug Fixes

  • #122 Locks the SDK with installed okta-auth-js major version

5.1.1

06 Apr 23:26
c002c45
Compare
Choose a tag to compare

Bug Fixes

  • #105 Catches and displays errors in LoginCallback

5.1.0

06 Apr 23:27
67626d1
Compare
Choose a tag to compare

Features

  • #104 Adds support for onAuthResume to LoginCallback for interaction_required OAuth errors (requires okta-auth-js 4.8+)

5.0.0

11 Mar 18:00
Compare
Choose a tag to compare

Breaking Changes

  • #71 Adds required prop restoreOriginalUri to Security that will override restoreOriginalUri callback of oktaAuth

4.1.0

02 Dec 23:21
3270dda
Compare
Choose a tag to compare
  • #56 OktaContext::OnAuthRequiredFunction return type is updated to Promise<void> | void

4.0.0

21 Nov 01:55
af53027
Compare
Choose a tag to compare

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

13 Nov 21:00
Compare
Choose a tag to compare

Bug Fixes

  • #36 fixes issue with SecureRoute that caused multiple calls to login()