Releases: okta/okta-auth-js
Releases · okta/okta-auth-js
6.0.0
Breaking Changes
- #1003 Supports generic UserClaims type. Custom claims should be extended by typescript generics, like
UserClaims<{ groups: string[]; }>
- #1050 Removes
userAgent
field from oktaAuth instance - #1014 Shared transaction storage is automatically cleared on success and error states. Storage is not cleared for "terminal" state which is neither success nor error.
- #1051 Removes
useMultipleCookies
from CookieStorage options - #1059
- Removes signOut option
clearTokensAfterRedirect
- Adds signOut option
clearTokensBeforeRedirect
(default:false
) to remove local tokens before logout redirect happen
- Removes signOut option
- #1057 Strict checks are now enabled in the Typescript compiler options. Some type signatures have been changed to match current behavior.
- #1062
- Authn method
introspect
is renamed tointrospectAuthn
(still callable astx.introspect
) IdxFeature
enum is now defined as strings instead of numbers
- Authn method
Features
- #1014 Updates IDX API to support email verify and recovery/activation
- adds new configuration options
recoveryToken
andactivationToken
- email verify callback:
- adds support for passing
otp
to idx pipeline - updates samples to display error message with OTP code
- adds support for passing
- idx methods support new options:
exchangeCodeForTokens
. If false,interactionCode
will be returned on the transaction at the end of the flow instead oftokens
.autoRemediate
. If false, there will be no attempt to satisfy remediations even if values have been passed.
- TransactionManager supports new option:
saveLastResponse
. If false, IDX responses will not be cached.
- adds new configuration options
- #1062
- All IDX methods are exported.
useInteractionCodeFlow
defaults totrue
for sample and test apps.
5.11.0
5.10.1
5.10.0
5.9.1
5.9.0
Features
- #1004 Allows extra query parameters to be added to the
authorize
url
Other
- #1000
- Fixes broken ES module bundle
- Updates
browser
field inpackage.json
to enable bundlers to use the ES module bundle by default
Fixes
- #1005
- Handles
rememberMe
boolean in IDX Identify remediation adapter - Typescript: Adds
type
field forInput
type in NextStep object
- Handles
5.8.0
5.7.0
5.6.0
Features
- #963
- Adds
getPreviousAuthState
method toAuthStateManager
- Allows null type for authState related methods / fields
- Adds
- #948 Adds
Google Authenticator
support in idx module
Other
- #947 TypeScript: Allow custom keys in
AuthState
interface
Bug Fixes
- #967 Throw error in
parseFromUrl
if can't load transaction meta