-
Notifications
You must be signed in to change notification settings - Fork 289
Open
Labels
Milestone
Description
What would you like to be added
The step oath command can be called with --console when headless. It would be useful to be able to pass this argument when doing step ssh login <user> --issuer <some oidc provisioner>
Why this is needed
I could be mistaken, but I think the step ssh login .. automates the oauth flow. For example, I can do
TOKEN=$(step oauth --client-id <client_id> --client-secret <client_secret> --provider https://accounts.google.com/.well-known/openid-configuration --oidc --bare --console)
step ssh login <identity> --token $TOKEN
to achieve what I want when working on a headless host. We should be able to pass the --console argument to step ssh login .. to achieve the same result
avoidik and kfox1111