Jayd603 commented on issue #145:
URL:
https://github.com/apache/cloudstack-cloudmonkey/issues/145#issuecomment-2619898361
I have both api/secretkey configured and working.
When trying to use createAccount I am getting 2fa failure despite issuing a
successful 'login' and 2fa code and receiving a success message.
(admin) 🐱 > login username=admin password='password'
(admin) 🐱 > validateUserTwoFactorAuthenticationCode codefor2fa=643762
{
"success": true
}
(admin) 🐱 > createAccount username=testuser [email protected]
firstname=Test lastname=User password=testpassword
roleid=ce5a99c7-3f9a-4ba1-b52e-f0a1155f2cdf
🙈 Error: (HTTP 511, error code <nil>) Unable to process the API request due
to :Two factor authentication 2FA is enabled but not verified, please verify
2FA using validateUserTwoFactorAuthenticationCode API before calling other
APIs. Existing session is invalidated.
so this is not implemented or am I doing something else wrong.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]