Skip to content

Releases: okta/okta-vue

5.0.1

27 Jul 16:30
aafbcc1
Compare
Choose a tag to compare

Bug Fixes

  • 70 Fix token auto renew by using @okta/okta-auth-js ^5.2.3

5.0.0

24 Jun 11:28
a2319d9
Compare
Choose a tag to compare

Breaking Changes

  • #56 Requires @okta/okta-auth-js 5.x
    • Initial AuthState is null
    • Removed isPending from AuthState
    • Default value for originalUri is null

Others

  • #68 Upgrades dependencies

4.0.1

13 May 19:37
5f4c00f
Compare
Choose a tag to compare

Bug Fixes

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

4.0.0

20 Apr 17:59
fc6246a
Compare
Choose a tag to compare

Features

  • #52 Adds onAuthResume option

Breaking Changes

  • #43 Support Vue 3 and Vue Router 4. See MIGRATING for detailed information.

3.1.0

04 Jan 21:31
29b7988
Compare
Choose a tag to compare

Features

  • #39 Adds support for Typescript

3.0.0

07 Dec 18:46
ede6496
Compare
Choose a tag to compare

Breaking Changes

  • #27 See MIGRATING for detailed information.
    • Replaces Auth service with instance of @okta/okta-auth-js for $auth, so all configuration options and public methods are available.
    • By default isAuthenticated will be true only if both accessToken and idToken are valid
    • Replaces Auth.handleCallback with LoginCallback component
    • Changes @okta/okta-auth-js, vue and vue-router as peerDependencies

Features

  • #27
    • Injects reactive [authState][] property to the Vue components
    • Guards secure routes not only by the beforeRouteEnter navigation guard, also by subscribing to [authState.isAuthenticated][authState] change after entering the routes.
  • #31 Exposes ES module bundle from package module field

@okta/okta-vue-2.1.1

01 Sep 17:42
7d24048
Compare
Choose a tag to compare

Bug Fixes

  • #21 Includes source map in release bundle

2.1.0

18 Aug 21:03
b9c778b
Compare
Choose a tag to compare

Bug Fixes

  • #17 Removes default onSessionExpired behavior.

Other

  • Updates @okta/okta-auth-js to version 3.2.3
  • Updates README with more information about onSessionExpired and isAuthenticated options

2.0.0

18 Aug 21:05
bfa06cf
Compare
Choose a tag to compare

Breaking Changes

  • Uses/requires @okta/okta-auth-js 3.x
    • The pkce option now defaults to true, using the Authorization Code w/PKCE flow
  • The previously deprecated scope option is now fully unsupported
  • The scopes option now defaults to ['openid', 'email', 'profile'] instead of the previous ['openid']
    • This default continues to be overridden by any explicit scopes passed in the config