Skip to content

Username param causes failure #110

Description

@dx23366

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions