saml2aws: Error authenticating using google
After accepting yes on google prompt during sam2aws login Getting exception
error authenticating to IdP: page is missing saml assertion
Did configure
account {
URL: https://accounts.google.com/
Username: rohit.verma@xxx.xx
Provider: GoogleApps
MFA: Auto
SkipVerify: false
AmazonWebservicesURN: urn:amazon:webservices
SessionDuration: 3600
Profile: default
}
with .aws/config file as
[default]
region = us-west-2
google_config.ask_role = False
google_config.keyring = False
google_config.duration = 43100
google_config.google_idp_id = C000000
google_config.role_arn = arn:aws:iam::0000000000000:role/root-sysadmin-delegate
google_config.google_sp_id = 0000000000
google_config.u2f_disabled = True
google_config.google_username = rohit.verma@xxx
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 9
- Comments: 28 (3 by maintainers)
Still facing this issue, especially in the case when some of the attempts for login have failed.
FYI: If you allow here, the error no longer exists. https://accounts.google.com/b/0/DisplayUnlockCaptcha
The newest version for saml2aws should resolve this issue. I believe you can close this @wolfeidau
Hello,
I’m also running into this issue.
Running
DUMP_CONTENT=true saml2aws login --verboselooks like it’s getting caught on the sign in page (won’t post the dump since the README says not to).The URL that I’m using to sign in with is in the format: https://accounts.google.com/o/saml2/initsso?idpid=XXXXXX&spid=YYYYYYY&forceauthn=false
The links that I’m hitting are:
https://accounts.google.com/signin/v1/lookup https://accounts.google.com/signin/challenge/sl/password
I’ve left it alone over a period of 24 hours and am still running into this issue.
EDIT:
Took a copy of the page’s source. This is the page that it’s getting stuck on:
I just came back from vacations, I tried to login and got this on
2.36.2:I believe it’s a captcha issue:
@volker48 @wolfeidau I spoke to Google Support and TL;DR is “Not our problem”. I couldn’t get an explanation why you would need a CAPTCHA if 2FA is enabled. Both require an active action from a human, so I don’t see the point.