I have tried to make this work, but there are just more issues than I can understand.
So far I realised that it is missing call to /v1/auth/mfa before getKeySet is called;
I have modified a code a bit to get it working, but the code is not made to expect 2FA. Maybe it is possible to make a callback to ask for 2FA code and then submit it and follow the procedure.
I have tried to make this work, but there are just more issues than I can understand.
So far I realised that it is missing call to
/v1/auth/mfa
beforegetKeySet
is called;I have modified a code a bit to get it working, but the code is not made to expect 2FA. Maybe it is possible to make a callback to ask for 2FA code and then submit it and follow the procedure.
P.S.
/v1/auth/mfa
request body: