- #139
- Plugin supports both Options API and Composition API
LoginCallback
component and test app migrated to Composition API
- #139 Fixes
TypeError: 'set' on proxy: trap returned falsish for property 'authState'
when plugin is used in app with Composition API
- #122
- Fixes types;
onAuthRequired
andonAuthResume
are now optional - dependency updates
- Fixes types;
- #110 Adds support for
@okta/okta-auth-js
7.x
- bumps minimum node version to
14
- bumps minimum node version to
- #106 Adds composable
useAuth()
to access the oktaAuth instance in setup script
- #96
- Removes
oktaAuth.stop()
fromOktaVue
module - Removes
oktaAuth.start()
fromLoginCallback
component
- Removes
- #93 Updates vulnerable dependencies
- #89 Supports named slot (
error
) inLoginCallback
component
- #86 Fixes okta-auth-js v6 compatibility issues:
- allows okta-auth-js v6 in peerDependencies
- uses available
isInteractionRequiredError
method inLoginCallback
component
- #80 Set okta-auth-js minimum supported version as 5.3.1,
AuthSdkError
will be thrown if oktaAuth instance cannot meet the version requirement
- 77 Fix issue with
navigationGuard
by startingoktaAuth
service after handling login redirect
- #77 Requires @okta/okta-auth-js ^5.8.0
- 70 Fix token auto renew by using @okta/okta-auth-js ^5.2.3
- #56 Requires @okta/okta-auth-js 5.x
- Initial
AuthState
is null - Removed
isPending
fromAuthState
- Default value for
originalUri
is null
- Initial
- #68 Upgrades dependencies
- #60 Locks the SDK with installed okta-auth-js major version
- #52 Adds
onAuthResume
option
- #39 Adds support for Typescript
- #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
withLoginCallback
component - Changes
@okta/okta-auth-js
,vue
andvue-router
as peerDependencies
- Replaces
- #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
- #21 Includes source map in release bundle
- #17 Removes default
onSessionExpired
behavior.
- Updates
@okta/okta-auth-js
to version 3.2.3 - Updates README with more information about
onSessionExpired
andisAuthenticated
options
- Uses/requires
@okta/okta-auth-js 3.x
- The
pkce
option now defaults totrue
, using the Authorization Code w/PKCE flow- Those using the (previous default) Implicit Flow should pass
pkce: false
to their config - See the @okta/okta-auth-js README regarding PKCE OAuth2 Flow for PKCE requirements
- Which include the Application settings in the Okta Admin Dashboard allowing for PKCE
- Those using the (previous default) Implicit Flow should pass
- The
- 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
- This default continues to be overridden by any explicit
- #648
- Adds a default handler for onSessionExpired
- Adds a new option isAuthenticated which works with onAuthRequired
- Expose TokenManager
- Adds documentation for postLogoutRedirectUri
558696
- Upgrades to@okta/[email protected]
which includes new options for signout:3e8c65
3e0666d
- Support PKCE authorization flow
-
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 propertyscope
(string) is deprecated in favor ofscopes
(array). Normalize config format for the propertiesresponseType
andscopes
, used in get token flows. Fully support deprecated config propertiesrequest_type
andscope
as previously documented and used within the okta-vue samples.
2ae1eff
- Adds TokenManager configuration parameters.
2945461
- Updates@okta/configuration-validation
version.
6242f2d
- Fixes an issue where the library was not correctly building the/dist
output before publishing tonpm
.
d67a596
- Adds configuration validation forissuer
,client_id
, andredirect_uri
when passed into the security component.
3582f25
- Rely on shared environment configuration from project root.c8b7ab5a
- Migrate dependencies to project root utilizing yarn workspaces.
95c3e62
- Fixes an issue where the library would enter an error state when attempting to renew expired tokens (errorCode:login_required
).
- Updated
jest
to version ^23.6.0. - Updated package-lock.json.
- Updated
@okta/okta-auth-js
dependency to version 2.