Currently the CLI requires OAuth authentication to link a project. However, this doesn't work well in some environments (e.g. remote servers, CI, headless environments, or TUI tools).
We should support an alternative authentication method that allows linking directly using:
API Base URL
API Key
Example:
insforge link
--api-base-url https://api.insforge.dev
--api-key <project_api_key>
This would allow the CLI to authenticate and send requests directly to the project without requiring OAuth login.
so our OSS users can use it. Make sure it doenst break the existing oauth
Currently the CLI requires OAuth authentication to link a project. However, this doesn't work well in some environments (e.g. remote servers, CI, headless environments, or TUI tools).
We should support an alternative authentication method that allows linking directly using:
API Base URL
API Key
Example:
insforge link
--api-base-url https://api.insforge.dev
--api-key <project_api_key>
This would allow the CLI to authenticate and send requests directly to the project without requiring OAuth login.
so our OSS users can use it. Make sure it doenst break the existing oauth