Authentication
The Flowingto CLI uses a secure device authorization flow to authenticate users.
flowingto login
Run the login command to authenticate:
What happens under the hood:
- The CLI requests a device code from the Flowingto server.
- A browser window opens automatically with the verification URL.
- You approve the device in the browser.
- The CLI polls the server for an access token and stores it locally.
flowingto logout
Clear all stored credentials:
This removes the credentials file from your local machine.
flowingto whoami
Display the currently logged-in user:
This shows your email, user ID, token expiration time, and the server you are connected to.
Credential Storage
Your credentials are stored at:
The file is created with restricted permissions (0o600) and contains:
emailtokenserveruserIdexpiresAt
Expired tokens are treated as invalid, so you will need to log in again when the token expires.
Custom Server
For local development or self-hosted instances, use the --server global option: