Start a device login
Starts a login for a device with no browser, such as the CLI. Show the person userCode and send them to verificationPath, then poll for the key. No credential is needed.
POST
/_luna/auth/deviceRequest body
requiredapplication/jsonclientstringA name for the device that is logging in, shown on the approval page.
default: ""
Responses
200
The codes for this login.
deviceCodestringrequiredWhat the device polls with. Keep it on the device.
userCodestringrequiredWhat the person types on the approval page.
verificationPathstringrequiredThe path of the approval page on this server.
expiresIninteger<int64>requiredSeconds until the codes expire.
min 0
intervalinteger<int64>requiredSeconds to wait between polls.
min 0
default
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.