Skip to content

Latest commit

 

History

History
239 lines (137 loc) · 8.19 KB

CHANGELOG.md

File metadata and controls

239 lines (137 loc) · 8.19 KB

5.7.0

Features

  • #139
    • Plugin supports both Options API and Composition API
    • LoginCallback component and test app migrated to Composition API

Fixes

  • #139 Fixes TypeError: 'set' on proxy: trap returned falsish for property 'authState' when plugin is used in app with Composition API

5.6.0

Fixes

  • #122
    • Fixes types; onAuthRequired and onAuthResume are now optional
    • dependency updates

5.5.0

Features

  • #110 Adds support for @okta/okta-auth-js 7.x
    • bumps minimum node version to 14

5.4.0

Features

  • #106 Adds composable useAuth() to access the oktaAuth instance in setup script

5.3.0

Others

  • #96
    • Removes oktaAuth.stop() from OktaVue module
    • Removes oktaAuth.start() from LoginCallback component

5.2.1

Others

  • #93 Updates vulnerable dependencies

5.2.0

Features

  • #89 Supports named slot (error) in LoginCallback component

5.1.1

Fixes

  • #86 Fixes okta-auth-js v6 compatibility issues:
    • allows okta-auth-js v6 in peerDependencies
    • uses available isInteractionRequiredError method in LoginCallback component

5.1.0

Others

  • #80 Set okta-auth-js minimum supported version as 5.3.1, AuthSdkError will be thrown if oktaAuth instance cannot meet the version requirement

5.0.2

Bug Fixes

  • 77 Fix issue with navigationGuard by starting oktaAuth service after handling login redirect

Others

  • #77 Requires @okta/okta-auth-js ^5.8.0

5.0.1

Bug Fixes

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

5.0.0

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

Bug Fixes

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

4.0.0

Features

  • #52 Adds onAuthResume option

Breaking Changes

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

3.1.0

Features

  • #39 Adds support for Typescript

3.0.0

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

2.1.1

Bug Fixes

  • #21 Includes source map in release bundle

2.1.0

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

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

1.3.0

Features

  • #648
    • Adds a default handler for onSessionExpired
    • Adds a new option isAuthenticated which works with onAuthRequired
    • Expose TokenManager
    • Adds documentation for postLogoutRedirectUri

1.2.0

Features

1.1.1

Features

  • 3e0666d - Support PKCE authorization flow

Other

  • 654550 - All configuration options are now accepted. See Configuration Reference. Camel-case (clientId) is now the preferred syntax for all Okta OIDC libraries. Underscore syntax (client_id) will be deprecated in a future release.

  • a2a7b3e - Configuration property scope (string) is deprecated in favor of scopes (array). Normalize config format for the properties responseType and scopes, used in get token flows. Fully support deprecated config properties request_type and scope as previously documented and used within the okta-vue samples.

1.1.0

Features

  • 2ae1eff - Adds TokenManager configuration parameters.

1.0.7

Other

  • 2945461 - Updates @okta/configuration-validation version.

1.0.6

Bug fixes

  • 6242f2d - Fixes an issue where the library was not correctly building the /dist output before publishing to npm.

1.0.5

Features

  • d67a596 - Adds configuration validation for issuer, client_id, and redirect_uri when passed into the security component.

Other

1.0.4

Bug fixes

  • 95c3e62 - Fixes an issue where the library would enter an error state when attempting to renew expired tokens (errorCode: login_required).

1.0.3

Other

  • Updated jest to version ^23.6.0.
  • Updated package-lock.json.

1.0.2

Other

  • Updated @okta/okta-auth-js dependency to version 2.