Skip to content

PAT Authentication not working #198

@woutervanranst

Description

@woutervanranst

Describe the bug

Opening a new issue since I was commenting on a closed issue #15 (comment)

In WSL / PowerShell the PAT login is not working. I have tried with GITHUB_TOKEN and GH_TOKEN, it s a fine grained one as per the instructions.
This is still the case with 0.0.333 Commit: 4cbf3da

Image

Affected version

0.0.333 Commit: 4cbf3da

Steps to reproduce the behavior

  1. In a clean WSL
  2. npm install -g @github/copilot
  3. Set env var (GITHUB_TOKEN) to a fine grained one
  4. start copilot

Expected behavior

Copilot says it is logged in

Instead, it says Please use /login to sign in to use Copilot and wen I test something it says × You must be logged in to send messages. Please run /login

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions