Skip to content

[1 point]Allow cli to link based on api base url and api key #20

@tonychang04

Description

@tonychang04

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions