Skip to content

Authentication via Token #3

Closed
Closed
@arunoruto

Description

@arunoruto

Some folks have a pretty simple setup, where the LSP servers are started with a command and that's it, no additional config usually needed. For such setups tokens are used to authenticate, so it would be helpful to have a token in the environment.

For example, if looking at helix-gpt, it uses the COPILOT_API_KEY variable to authenticate. I am not sure if it is possible, but using the token generated by gh auth token would be awesome, since tokens could be generated by the command and the init file/script of a shell, like

export GITHUB_COPILOT_TOKEN=$(gh auth token)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions