Skip to content

copilot-cli keeps asking to login againΒ #254

@yurivict

Description

@yurivict

Describe the bug

copilot-cli worked fine until today.

Today copilot-cli began to ask me to login again even though I was already logged in with GitHub credentials using GitHub Business account for many days.

"/login" would log me in, but after Ctrl-C the new session would ask me to log in again. This happened many times.

The long running parallel session was present. This was a new circumstance today. Maybe this was the cause.

Then I logged in using "gh", and copilot-cli began to pick up login from gh and this solved the problem.

Version: 0.0.330
Rocky Linux

Affected version

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions