Platform Login
Usage
dxflow platform login [OPTIONS]
Alias: dxflow platform connect. Also answers at the root as dxflow login.
Options
| Flag | Shorthand | Description | Type | Default |
|---|---|---|---|---|
--no-open | Print the login URL for a browser elsewhere | bool | false | |
--code | Code shown in the browser | string |
Output
● Platform
Engine a1b2c3d4e5f60718293a4b5c6d7e8f90
Browser https://dxflow.ai/workspace/login?identity=a1b2c3d4e5f60718293a4b5c6d7e8f90
Code 4821-3975
Platform connected: 'you@example.com' now holds this engine
The browser signs in as an account and shows an eight-digit code. Where the platform can reach the engine on port 80, it carries the code there and the prompt fills itself; otherwise you type it. A code lives five minutes, redeems once, and is worth three attempts.
Reaching the engine wants inbound TCP 80 open to it and enough privilege to bind that port, so on a cloud host run the command with sudo and admit port 80 in the security group. The code on screen is the way through wherever either is missing — a laptop behind a router included.
On a host with no browser, --no-open prints the URL and returns rather than holding the terminal:
● Platform
Engine a1b2c3d4e5f60718293a4b5c6d7e8f90
Browser https://dxflow.ai/workspace/login?identity=a1b2c3d4e5f60718293a4b5c6d7e8f90
Next dxflow login --code <CODE>
Open that URL wherever you have a browser, then finish with --code. The same flag covers a second terminal, a script, and a rerun after a typo.