Skip to content

GitHub Copilot auth timed out #724

@FireBelow

Description

@FireBelow

This is related to issue #654 but I think I found a new bug.

I ran openclaw configure --section model again and this time was creating a github issue to document the issues I was having. However, while I was writing a summary, the device code auth expired and when it did, I was able to get past the device auth and got to a new menu that allowed me to select which models I wanted to use and then complete the configuration update.

The model selection isn't as important as the auth flow was allowed to continue with the device auth I completed days ago but still wasn't working.

I think this timeout bug actually helped me get unblocked and I'm hoping the bot can find the source. After I restarted my gateway, chat worked for the first time since I installed openclaw.

`openclaw@COMPUTER:~$ openclaw configure --section model

🦞 OpenClaw 2026.6.1 (...) — I'm the assistant your terminal demanded, not the one your sleep schedule requested.

┌ OpenClaw configure

◇ Existing config detected ──────────────╮
│ │
│ Workspace: ~/.openclaw/workspace │
│ Model: github-copilot/claude-opus-4.7 │
│ Gateway: local via loopback on :18789 │
│ Node manager: npm │
│ │
├─────────────────────────────────────────╯

◇ Model/auth provider
│ More…

◇ Model/auth provider
│ Copilot

◇ Copilot auth method
│ GitHub Copilot

◇ GitHub Copilot auth already exists. Re-run login?
│ Yes

◇ GitHub Copilot ─────────────────────────────────────────────╮
│ │
│ This will open a GitHub device login to authorize Copilot. │
│ Requires an active GitHub Copilot subscription. │
│ │
├──────────────────────────────────────────────────────────────╯

◇ Authorize GitHub Copilot ────────────────────────────────────────────────────────────╮
│ │
│ Open this URL in your browser and enter the code below. │
│ URL: https://github.com/login/device
│ Code:
│ Code expires in 15 minutes. Never share it. │
│ │
│ If a browser does not open automatically after you continue, copy the URL manually. │
│ │
├───────────────────────────────────────────────────────────────────────────────────────╯

◇ GitHub Copilot ─────────────────────────────────────────────────╮
│ │
│ The GitHub device code expired. Retry login to get a new code. │
│ │
├──────────────────────────────────────────────────────────────────╯


◇ Models in /model picker (multi-select)
│ 24 items selected
Updated config: ~/.openclaw/openclaw.json
Backup: ~/.openclaw/openclaw.json.bak

└ Configuration updated.

openclaw@COMPUTER:~$`

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerThis issue is about auth, provider routing, model choice, or SecretRef resolution.issue-rating: 🦐 gold shrimpDecent issue quality, but reproduction details are still incomplete.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions