Skip to content

add headless support to [step ssh login ..] #293

@tmcolby

Description

@tmcolby

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions