@okta/okta-auth-js
Advanced tools
Changelog
6.5.0
maxAge
param in interaction code flow. This parameter can be passed in from either SDK level options or idx.interact
options.options
field in inputs
scope, and deprecated top level options
from nextStep
field of the response (removal will happen in the next major version).input
type indicator's field name for username
and authenticator
. Before the indicator was named as key
, now it's fixed to type
to follow input metadata with all other inputs.Changelog
6.4.1
#1177 - fixes issue with repeated calls to oktaAuth.start()
requestDidSucceed
is returned on IdxTransaction
shouldProceedWithEmailAuthenticator
to disable email authenticator auto-selectionuser
property now optionalkey
propertyChangelog
6.3.0
authenticator
can be provided to IDX methods as either a string (representing the authenticator key) or an authenticator objectcredentials
object can be passed to satisfy an "identify" remediation instead of username
and password
idx.proceed
will continue without saved transaction meta if a stateHandle
is availablerequestDidSucceed
which will be false if the XHR was returned with a non-2xx HTTP statustransformAuthState
. Concurrent auth state updates will now enqueue calls to transformAuthState
so that they execute sequentiallystep
option in IDX flows: it will only be used for a single remediation cycleChangelog
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 vulnerability