6.0.0
aarongranick-okta
released this
21 Jan 02:19
·
300 commits
to master
since this release
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.