Auth

Show where a CLI login was started

Changed on

Returns the device name and IP address that started the CLI login bound to this browser, so the MFA challenge page can show the user a login they didn't start. The page reads them from the gateway, not from its own URL, which a crafted link could fill with a reassuring device or address.

get/auth/cli/initiator

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/auth/cli/initiator
  • Auth: none declared

Query parameters

statestring required

Login state

Response

OK

devicestring
ipstring

Changes