Skip to main content
POST
Start a command-line login session

Body

application/json

POST /v1/auth/sessions — the command line opens a login.

public_key
string
required

The client's public key. Relayed; this daemon runs no curve over it.

token_name
string
required

What the credential this login mints will be called.

Response

Created

What opening a login answers with.

login_url
string
required

The page a person approves the login on.

request_id
string
required

The request that opened it, for an operator correlating a failed login.

session_id
string
required

The identifier the command line polls on.