Skip to content
Discussion options

You must be logged in to vote

Doing some debugging in my free time to get this to work.

It seems that the problem is in client/cmd/cloudx/client/handler.go:416. My account has 2FA enabled and unfortunately the type being returned is not *cloud.GenericOpenAPIError but *oldCloud.GenericOpenAPIError.

This means that the type assertion fails therefore it doesn't use the session token to ask for 2FA, instead simply erroring out with a 403.

Changing the type assertion to *oldCloud.GenericOpenAPIError and creating a custom build locally then means I can successfully log in.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kisamoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant