Skip to main content

Support login_hint with spacectl

Please support passing a login_hint on to the identity provider

I run spacectl profile login --method browser from tooling, but have multiple Google accounts so every login stops at the account chooser. I also sometimes pick the wrong one and then have to go through a whole logout / login hassle. Other tools like gcloud + aws let you do this.

Would need:

  • /cli_login (and ideally the web login URL) accepts a login_hint query parameter and forwards it on the redirect to the IdP. I tried adding &login_hint=<email> to the cli_login URL today and the chooser still appears, so it isn’t forwarded yet.

  • In spacectl a --login-hint flag

Log in to comment and vote

No comments yet

Be the first to share your thoughts.