ruimarinho / gsts

Obtain and store AWS STS credentials to interact with Amazon services by authenticating via G Suite SAML.
MIT License
219 stars 38 forks source link

Username param causes failure #110

Open dx23366 opened 5 months ago

dx23366 commented 5 months ago

I think since google switched to its new login page I've been getting this error. I assume it's caused by that email input not existing anymore or something. Easy to work around though by just not providing the username parameter once you know what's happening.

gsts --idp-id=... --sp-id=... --aws-role-arn=arn:aws:iam::...:role/SSO-Administrators --username pete@blah.com --aws-region us-east-1 --verbose ℹ Loaded credentials from "/home/pete/.cache/gsts/credentials". ℹ Session has expired on 2024-04-12T04:48:40.000Z, refreshing credentials... ⚠ User is not authenticated, spawning headful instance ℹ Role ARN "arn:aws:iam::...:role/SSO-Administrators" has been assumed via SAML ℹ Loaded credentials from "/home/pete/.cache/gsts/credentials". ℹ The credentials have been stored in "/home/pete/.cache/gsts/credentials" under AWS profile "default" ✖ An unknown error has ocurred with message "page.fill: Target page, context or browser has been closed Call log: