Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing in username/password/totp through CLI is ignored #1358

Open
podpah opened this issue Oct 28, 2024 · 0 comments
Open

Passing in username/password/totp through CLI is ignored #1358

podpah opened this issue Oct 28, 2024 · 0 comments

Comments

@podpah
Copy link

podpah commented Oct 28, 2024

Hey so I'm trying to set up saml2aws to be able to fill in my details from CLI so I don't have to set them in the browser. I use Bitglass authenticated via Jumpcloud and when I try to login I get the following:

op run -- saml2aws login --skip-prompt
Using IdP Account default to access Browser https://portal.bitglass.com/sp/silent/<>/?username=$<concealed by 1Password>&continue=/idp/init/<>/
Authenticating as <concealed by 1Password> ...

And then it opens the Browser and still asks me to put in my details to log into JumpCloud, even though I've provided them already. Also just a note that I'm providing them through the 1Password plugin with the SAML2AWS mfa_token, username and password variables set but I've also tried to provide them manually and still opens up Jumpcloud for me without logging in, for example:

saml2aws login --mfa-token=<totp>
Using IdP Account default to access Browser https://portal.bitglass.com/sp/silent/<>/?username=$<email>&continue=/idp/init/<>/
? Username <email>
? Password *************
Authenticating as <email> ...
INFO[0008] opening browser                              

And then it still opens up the browser and prompts me for all my details. Is it not possible to do because bitglass redirects auth or am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant