I’m trying to implement login in a React app that supports and SMS multifactor using okta-auth-js. After the user enters the passcode I call transaction.verify … that call does not succeed. In looking at the body of the post it seems to be mal-formed and is breaking up the passcode into an array of digits.
Passing a passcode if 123 to the verify function sends the following body to the server
(0: “1”, 1: “2”, 2: “3”, stateToken: “xxxxxxxxxx”}
Is this the expected behavior to break the token up into individual digits?