Skip to content

3.0.0

Compare
Choose a tag to compare
@shuowu-okta shuowu-okta released this 07 Dec 18:46
· 66 commits to master since this release
ede6496

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