- #151 adds
@okta/okta-auth-js@8.0.0as supported
#150 Updates global properties type declaraton
- resolves #149
- #139
- Plugin supports both Options API and Composition API
LoginCallbackcomponent 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;
onAuthRequiredandonAuthResumeare now optional - dependency updates
- Fixes types;
- #110 Adds support for
@okta/okta-auth-js7.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()fromOktaVuemodule - Removes
oktaAuth.start()fromLoginCallbackcomponent
- Removes
- #93 Updates vulnerable dependencies
- #89 Supports named slot (
error) inLoginCallbackcomponent
- #86 Fixes okta-auth-js v6 compatibility issues:
- allows okta-auth-js v6 in peerDependencies
- uses available
isInteractionRequiredErrormethod inLoginCallbackcomponent
- #80 Set okta-auth-js minimum supported version as 5.3.1,
AuthSdkErrorwill be thrown if oktaAuth instance cannot meet the version requirement
- 77 Fix issue with
navigationGuardby startingoktaAuthservice 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
AuthStateis null - Removed
isPendingfromAuthState - Default value for
originalUriis null
- Initial
- #68 Upgrades dependencies
- #60 Locks the SDK with installed okta-auth-js major version
- #52 Adds
onAuthResumeoption
- #39 Adds support for Typescript
- #27 See MIGRATING for detailed information.
- Replaces
Authservice with instance of @okta/okta-auth-js for$auth, so all configuration options and public methods are available. - By default
isAuthenticatedwill be true only if both accessToken and idToken are valid - Replaces
Auth.handleCallbackwithLoginCallbackcomponent - Changes
@okta/okta-auth-js,vueandvue-routeras peerDependencies
- Replaces
- #27
- Injects reactive [authState][] property to the Vue components
- Guards secure routes not only by the
beforeRouteEnternavigation 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
onSessionExpiredbehavior.
- Updates
@okta/okta-auth-jsto version 3.2.3 - Updates README with more information about
onSessionExpiredandisAuthenticatedoptions
- Uses/requires
@okta/okta-auth-js 3.x- The
pkceoption now defaults totrue, using the Authorization Code w/PKCE flow- Those using the (previous default) Implicit Flow should pass
pkce: falseto 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
scopeoption is now fully unsupported - The
scopesoption now defaults to['openid', 'email', 'profile']instead of the previous['openid']- This default continues to be overridden by any explicit
scopespassed 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
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 propertiesresponseTypeandscopes, used in get token flows. Fully support deprecated config propertiesrequest_typeandscopeas previously documented and used within the okta-vue samples.
2ae1eff- Adds TokenManager configuration parameters.
2945461- Updates@okta/configuration-validationversion.
6242f2d- Fixes an issue where the library was not correctly building the/distoutput before publishing tonpm.
d67a596- Adds configuration validation forissuer,client_id, andredirect_uriwhen 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
jestto version ^23.6.0. - Updated package-lock.json.
- Updated
@okta/okta-auth-jsdependency to version 2.