ForgotPassword method in Okta-Auth-JS

I am getting as a response a sessionToken by passing the current recoveryToken provided by the email.
However, in order to use the resetPassword function, I need that the payload for the transaction object is returned as follows:
https://developer.okta.com/docs/reference/api/authn/#response-example-for-activation-token-success-user-without-password
Is there something from the okta MFA that we need to do in order for this to work?

@tobias Hi, both email and SMS factors generate a token
Please refer the this discussion