Open priyendra opened 4 years ago
For what its worth, both users are able to log in to the AWS Web Console via the browser (using the same Google/AWS SAML integration). So the problem seems to be in the CLI workflow.
Hi, I tried this one, and it works now, might be the same root cause
https://github.com/cevoaustralia/aws-google-auth/issues/179#issuecomment-616475122
Latest build 0.0.36
has the fixed for captcha changes Google made. Please let us know if this resolves your issue.
We have been using this awesome tool quite successfully over the past few months and have run into an unexpected problem. A user that we recently added to our g-suite account is not able to log into AWS using this method.
Here's the log for a successful attempt:
Here's the log for an unsuccessful attempt (for the user that is unable to login)
The first difference in the logs seems to be in the response to the
POST /signin/v1/lookup HTTP/1.1
where the successful case returns a302
whereas the unsuccessful one returns a200
.As far as I am aware, the only differences between the two cases is that for the successful one, two factor is enabled whereas for the unsuccessful one, two factor is disabled.
Any ideas how to further debug this problem?