@okta/okta-auth-js
Advanced tools
Changelog
6.2.0
SigninWithCredentialsOptions
and SignInOptions
to support SP Initiated Auth
authenticator-verification-data
remediationimport
syntaxstate
now stored in session during verifyEmail flowautoRenew
(active vs passive)isAuthenticated
to override client configurationisAuthenticated
, tokens are now read from tokenManager
(not memory) before expiration is checkedChangelog
6.1.0
webauthn
authenticator support in idx moduleinvokeApiMethod
method as an escape hatch to make arbitrary OKTA API requestX-Forwarded-For
, User-Agent
, X-Okta-User-Agent-Extended
and X-Device-Token
) to idx.interact
. Follow setHeaders section to add headers to http requests.Input
type in NextStep objectSigninOptions.context
typeupdateAuthState
when handleLoginRedirect
failscross-fetch
to resolve security vulnerabilityChangelog
6.0.0
UserClaims<{ groups: string[]; }>
userAgent
field from oktaAuth instanceuseMultipleCookies
from CookieStorage optionsclearTokensAfterRedirect
clearTokensBeforeRedirect
(default: false
) to remove local tokens before logout redirect happenintrospect
is renamed to introspectAuthn
(still callable as tx.introspect
)IdxFeature
enum is now defined as strings instead of numbersrecoveryToken
and activationToken
otp
to idx pipelineexchangeCodeForTokens
. If false, interactionCode
will be returned on the transaction at the end of the flow instead of tokens
.autoRemediate
. If false, there will be no attempt to satisfy remediations even if values have been passed.saveLastResponse
. If false, IDX responses will not be cached.useInteractionCodeFlow
defaults to true
for sample and test apps.