ok, so I’m invoking the APIs to generate a new root token from my recovery keys. Everything works. I got a “encoded_token” in the final call with the last key. I got my encoded “otp” from the initial attempt API call.
So looking at the code, it seems the command line XORs both of these to get the actual usable root token. So I tried the same thing in code, but I can’t seem to get the same “s.xxxxxxxx…>” format token from the command line using the same inputs.