You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the /docs/idx.md walkthrough document, there are multiple references to the authenticators input for different idx methods/flows (e.g. authenticate, recoverPassword). However, this no longer seems to be the correct way to identify an authenticator. Instead, it seems that these flows are looking for the methodType input. This is based on what is returned by these methods in their nextStep attribute.
The various examples and snippets throughout the doc should be updated to reflect this.
Reproduction Steps?
For example, if you wanted to two a simple two factor authentication with PW + email, you might attempt something like the following based on the docs:
However, if you were to follow the instructions in the nextStep returned from the initial flow setup method or the proceed function you would see that the actual input you must provide is methodType and the optional values follow a different pattern than suggested in the doc (e.g. "email" instead of "okta_email").
So instead, you would actually want to something like the following:
Describe the bug
In the /docs/idx.md walkthrough document, there are multiple references to the
authenticators
input for different idx methods/flows (e.g.authenticate
,recoverPassword
). However, this no longer seems to be the correct way to identify an authenticator. Instead, it seems that these flows are looking for themethodType
input. This is based on what is returned by these methods in theirnextStep
attribute.The various examples and snippets throughout the doc should be updated to reflect this.
Reproduction Steps?
For example, if you wanted to two a simple two factor authentication with PW + email, you might attempt something like the following based on the docs:
However, if you were to follow the instructions in the
nextStep
returned from the initial flow setup method or theproceed
function you would see that the actualinput
you must provide ismethodType
and the optional values follow a different pattern than suggested in the doc (e.g."email"
instead of"okta_email"
).So instead, you would actually want to something like the following:
And this would be the proper way to perform the
authenticate
action.SDK Versions
All / Latest
Additional Information?
No response
The text was updated successfully, but these errors were encountered: