Skip to content

[BUG]: "No valid OAuth token detected" even when logged in. #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chrisgavin opened this issue Nov 29, 2023 · 1 comment
Closed

[BUG]: "No valid OAuth token detected" even when logged in. #20

chrisgavin opened this issue Nov 29, 2023 · 1 comment
Labels
bug Something isn't working needs-triage needs to be reviewed

Comments

@chrisgavin
Copy link

Thanks for taking the time to fill out this out! 🙇
By submitting this issue, you agree to follow our Code of Conduct.

What happened?

I'm authenticated to gh but still cannot use the Copilot extension because it says no token was detected.

image

Versions

gh version 2.39.2 (2023-11-27)
gh-copilot version 0.5.3-beta (2023-11-09)

Relevant terminal output

$ gh auth status --hostname github.com
github.com
  ✓ Logged in to github.com as chrisgavin (/home/chris/.config/gh/hosts.yml)
  ✓ Git operations for github.com configured to use https protocol.
  ✓ Token: ghp_************************************
  ✓ Token scopes: admin:enterprise, admin:repo_hook, codespace, copilot, delete:packages, delete_repo, gist, read:org, read:project, repo, user, workflow, write:packages
$ gh copilot suggest foo              

✗ Error: No valid OAuth token detected

To get started with GitHub Copilot in the CLI, please run: gh auth login --web -h github.com to authenticate via web browser.

@chrisgavin chrisgavin added bug Something isn't working needs-triage needs to be reviewed labels Nov 29, 2023
@chrisgavin
Copy link
Author

I see this is a duplicate of #1. 😢 No Copilot CLI for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage needs to be reviewed
Projects
None yet
Development

No branches or pull requests

1 participant