aws-google-auth
aws-google-auth copied to clipboard
Advanced Protection and Security Code from g.co/sc?
When this is used with accounts that have advanced protection enabled, that also have the ability to generate security codes on other devices that cannot do 2FA directly I get the error:
Something went wrong - Could not find SAML response, check your credentials or use --save-failure-html to debug.
When I save the failure HTML it is a file that prompts me to get a Security Code:
Does anyone have an idea of how to get past this? All our admins have Advanced Protection enabled.
#226 might fix this for you. It works for me. We're using a Yubikey. When running aws-google-auth
it asks for a security code from g.co/sc. Once you punch that it, you'll be good to go.
While waiting for it to be merged in, you can install that PR's fork with pip:
pip install git+https://github.com/cevoaustralia/aws-google-auth.git@refs/pull/226/head#egg=aws_google_auth
Hope this helps!