Skip to main content

login (coming soon)

🚧 Coming Soon: This command is currently unavailable. We're focusing on a small subset of functionalities for now.

Authenticate with the Starthub backend.

Usage​

starthub login [--api-base <url>]

Options​

  • --api-base <url> - Starthub API base URL (default: https://api.starthub.so)

Description​

The login command initiates the authentication process with Starthub. It opens your default web browser to the Starthub editor authentication page where you can complete the login process.

Authentication Flow​

  1. The command opens your browser to https://editor.starthub.so/cli-auth
  2. Complete the authentication in your browser
  3. Your authentication token will be stored locally for future CLI operations

Example​

starthub login

or with a custom API base:

starthub login --api-base https://api.starthub.so

Notes​

  • The authentication token is stored in your system's config directory
  • You can check your authentication status using starthub auth
  • To logout, use starthub logout