You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm 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.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.stale
On a new WSL Ubuntu 24 install, I ran through the quickstart install config and selected CoPilot -> Github auth for my model. I got a device registration code and URL but after completing that step nothing happens. It seems like the return signal to the installer never happens after the auth.
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 13, 2026, 7:14 PM ET / 23:14 UTC.
Summary
Keep open: Windows-side wizard recovery and protocol handling have improved, but the reporter still demonstrated that standalone GitHub Copilot device authorization can finish in the browser without resuming the CLI. A collaborator recently reopened this issue and continues to track it as unresolved provider-onboarding work.
Reproducibility: no. not yet with high confidence on current main. The reporter supplied a concrete command and corroborating timeout transcript, but the demonstrated version predates the latest release and no current-LKG run is available.
Ways to help us reproduce this
Add a screenshot or short recording showing the behavior.
Add expected vs actual behavior.
Next step
Maintainer/provider triage should first reproduce the success and expiry paths on the currently pinned gateway, determine the canonical relationship with the timeout report, and route the polling fix to the owning upstream package.
Maintainer decision needed
Question: Should this issue remain the primary tracker for successful browser authorization not resuming, or should that behavior be consolidated into GitHub Copilot auth timed out #724 after a current-LKG reproduction?
Rationale: Both reports point to the same device-code state machine, but recent collaborator tracking preserves them separately and current-version evidence is insufficient to select one canonical issue automatically.
Likely owner: samanthamsong — They own the active provider-onboarding tracking context and most recently reopened both reports.
Options:
Reproduce then consolidate (recommended): Test both completion and expiry against the currently pinned gateway, then keep the issue whose transcript best captures the confirmed root cause.
Keep separate outcomes: Retain this issue for successful authorization not resuming and the related issue for expiry incorrectly allowing configuration to continue.
Review details
Best possible solution:
Fix the gateway's GitHub Copilot device-code polling so successful authorization immediately produces a terminal result, then update the Windows gateway pin and add real wizard and standalone reauthentication coverage for success, expiry, denial, and cancellation.
Do we have a high-confidence way to reproduce the issue?
No, not yet with high confidence on current main. The reporter supplied a concrete command and corroborating timeout transcript, but the demonstrated version predates the latest release and no current-LKG run is available.
Is this the best way to solve the issue?
Yes in direction, but the fix belongs first in the gateway provider polling state machine rather than another Windows-only recovery workaround; this repository should integrate and prove that upstream correction.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
The supplied evidence reproduces the failure on OpenClaw 2026.6.1, but no current-main or v0.6.12 run establishes whether the provider polling behavior has since changed.
The exact division between this report and GitHub Copilot auth timed out #724 remains unsettled; they appear to share a device-code completion root cause but document different observable outcomes.
Codex review notes: model internal, reasoning high; reviewed against 77c42440376e.
Label changes
Label changes:
add issue-rating: 🐚 platinum hermit: Current issue advisory state selects this label.
add clawsweeper:needs-live-repro: Current issue advisory state selects this label.
remove issue-rating: 🦐 gold shrimp: Current issue advisory state no longer selects this label.
remove clawsweeper:needs-info: Current issue advisory state no longer selects this label.
Label justifications:
P2: The defect blocks GitHub Copilot reauthentication for affected users, but the Companion wizard succeeds and the impact is limited to one provider flow.
impact:auth-provider: The reported failure occurs while completing and persisting GitHub Copilot provider authorization.
impact:ux-friction: Users may need a timeout workaround, an alternate wizard path, or support knowledge to recover from the stalled authentication flow.
Evidence reviewed
What I checked:
Remaining failure: The reporter confirmed that the Companion App wizard can complete, while openclaw models auth login-github-copilot still remains blocked after successful browser authorization.
Corroborating timeout behavior:GitHub Copilot auth timed out #724 records the same device flow advancing only after the code expires, which supports a completion-polling or result-propagation defect rather than ordinary user error.
Windows wizard boundary: Current onboarding documentation describes the Companion as rendering gateway wizard.* steps and forwarding answers; provider-specific device-code polling remains gateway-owned. (docs/ONBOARDING_WIZARD.md:272, 77c42440376e)
Wizard resilience already landed: Merged work added auth-aware waits, protocol-step acknowledgement, and recovery actions, but its proof did not establish successful standalone GitHub Copilot device-code completion. (docs/ONBOARDING_WIZARD.md:272, 84d2e6ab80c8)
Gateway integration surface: This repository pins the gateway implementation through its LKG version surface, so an upstream provider fix may still require a pin update and Windows onboarding validation here. (src/OpenClaw.SetupEngine/GatewayLkgVersion.cs, 77c42440376e)
bkudiess: Auth-aware timeout handling and richer gateway wizard-step acknowledgement were recently implemented in the central setup flow. (role: recent wizard protocol contributor; confidence: high; commits: 84d2e6ab80c8; files: docs/ONBOARDING_WIZARD.md, src/OpenClaw.SetupEngine, src/OpenClaw.Tray.WinUI)
ranjeshj: Recent merged work added recovery actions during authentication waits and hardened adjacent gateway connection and credential behavior. (role: wizard recovery and connection contributor; confidence: high; commits: 9d304c110c0f, ea36b12f9e4c; files: docs/ONBOARDING_WIZARD.md, src/OpenClaw.SetupEngine, src/OpenClaw.Tray.WinUI)
samanthamsong: They placed this issue in the active provider-onboarding epic and most recently reopened it, making them a strong routing candidate for the cross-repository follow-up. (role: provider-onboarding tracking owner; confidence: medium)
How this review workflow works
ClawSweeper keeps one durable marker-backed review comment per issue or PR.
Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
Maintainers can also comment @clawsweeper review to request a fresh review only.
Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
After the openclaw install and setup wizard, I tried this command "openclaw models auth login-github-copilot" and had the same issue of not being able to proceed after auth in my browser. CTRL + clicking the URL successfully opened the auth web site but pasting the code didn't allow the auth in openclaw to continue
Thanks for the detailed follow-up! Based on your latest comments, it looks like the Companion setup wizard flow completed successfully, but the standalone CLI command openclaw models auth login-github-copilot does not complete even after browser auth.
This is consistent with a gateway-side polling bug: after you complete authorization in the browser, the gateway's device-code polling loop may not reliably detect the completion and resume. The wizard path avoids this because it uses a different RPC flow (wizard.next) rather than a direct device-code polling loop.
Suggested workaround (from a related report #724): If you need to re-authenticate the model provider, try running openclaw configure --section model and then intentionally let the device code expire (wait 15 minutes without completing browser auth, or just leave it). When the code expires, the flow often continues past the auth step using a previously cached credential and reaches the model selection screen. After completing that, restart the gateway.
This isn't a fix — it's a workaround until the gateway-side polling is addressed. The root cause (device-code completion not signaling back to the CLI) appears to live in the gateway's Copilot auth provider implementation rather than the Windows Companion app.
Thanks for the detailed reproduction. Because the same failure occurs with openclaw models auth login-github-copilot, this is in the main OpenClaw GitHub Copilot login flow rather than the Windows companion.
The symptom strongly matches the device-login polling bug fixed by openclaw/openclaw#109740. The previous poller could remain stuck after browser authorization when GitHub returned slow_down; the fix waits before polling and correctly increases the polling interval. The first release proven to contain it is v2026.7.2-beta.3.
No Windows companion code change is required, so we’re closing this report as fixed upstream. If the CLI still fails to resume on that or a newer containing build, please report it in openclaw/openclaw with only the OpenClaw version and sanitized terminal status. Do not attach tokens, device codes, credential files, or auth profiles.
P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm 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.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.stale
Activity
clawsweeper commentedon Jun 2, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 13, 2026, 7:14 PM ET / 23:14 UTC.
Summary
Keep open: Windows-side wizard recovery and protocol handling have improved, but the reporter still demonstrated that standalone GitHub Copilot device authorization can finish in the browser without resuming the CLI. A collaborator recently reopened this issue and continues to track it as unresolved provider-onboarding work.
Reproducibility: no. not yet with high confidence on current main. The reporter supplied a concrete command and corroborating timeout transcript, but the demonstrated version predates the latest release and no current-LKG run is available.
Ways to help us reproduce this
Next step
Maintainer/provider triage should first reproduce the success and expiry paths on the currently pinned gateway, determine the canonical relationship with the timeout report, and route the polling fix to the owning upstream package.
Maintainer decision needed
Review details
Best possible solution:
Fix the gateway's GitHub Copilot device-code polling so successful authorization immediately produces a terminal result, then update the Windows gateway pin and add real wizard and standalone reauthentication coverage for success, expiry, denial, and cancellation.
Do we have a high-confidence way to reproduce the issue?
No, not yet with high confidence on current main. The reporter supplied a concrete command and corroborating timeout transcript, but the demonstrated version predates the latest release and no current-LKG run is available.
Is this the best way to solve the issue?
Yes in direction, but the fix belongs first in the gateway provider polling state machine rather than another Windows-only recovery workaround; this repository should integrate and prove that upstream correction.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 77c42440376e.
Label changes
Label changes:
issue-rating: 🐚 platinum hermit: Current issue advisory state selects this label.clawsweeper:needs-live-repro: Current issue advisory state selects this label.issue-rating: 🦐 gold shrimp: Current issue advisory state no longer selects this label.clawsweeper:needs-info: Current issue advisory state no longer selects this label.Label justifications:
P2: The defect blocks GitHub Copilot reauthentication for affected users, but the Companion wizard succeeds and the impact is limited to one provider flow.impact:auth-provider: The reported failure occurs while completing and persisting GitHub Copilot provider authorization.impact:ux-friction: Users may need a timeout workaround, an alternate wizard path, or support knowledge to recover from the stalled authentication flow.Evidence reviewed
What I checked:
openclaw models auth login-github-copilotstill remains blocked after successful browser authorization.wizard.*steps and forwarding answers; provider-specific device-code polling remains gateway-owned. (docs/ONBOARDING_WIZARD.md:272, 77c42440376e)docs/ONBOARDING_WIZARD.md:272, 84d2e6ab80c8)src/OpenClaw.SetupEngine/GatewayLkgVersion.cs, 77c42440376e)Likely related people:
docs/ONBOARDING_WIZARD.md,src/OpenClaw.SetupEngine,src/OpenClaw.Tray.WinUI)docs/ONBOARDING_WIZARD.md,src/OpenClaw.SetupEngine,src/OpenClaw.Tray.WinUI)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.FireBelow commentedon Jun 3, 2026
After the openclaw install and setup wizard, I tried this command "openclaw models auth login-github-copilot" and had the same issue of not being able to proceed after auth in my browser. CTRL + clicking the URL successfully opened the auth web site but pasting the code didn't allow the auth in openclaw to continue
FireBelow commentedon Jun 7, 2026
Running the auth command
openclaw models auth login-github-copilotfailed in the same way as the original bug descriptionThe auth flow through the Companion App wizard completes successfully.
I'm still having trouble with an agent failure so I'm trying to reauth and I'm not sure how
github-actions commentedon Jun 14, 2026
🤖 This is an automated response from Repo Assist.
Thanks for the detailed follow-up! Based on your latest comments, it looks like the Companion setup wizard flow completed successfully, but the standalone CLI command
openclaw models auth login-github-copilotdoes not complete even after browser auth.This is consistent with a gateway-side polling bug: after you complete authorization in the browser, the gateway's device-code polling loop may not reliably detect the completion and resume. The wizard path avoids this because it uses a different RPC flow (
wizard.next) rather than a direct device-code polling loop.Suggested workaround (from a related report #724): If you need to re-authenticate the model provider, try running
openclaw configure --section modeland then intentionally let the device code expire (wait 15 minutes without completing browser auth, or just leave it). When the code expires, the flow often continues past the auth step using a previously cached credential and reaches the model selection screen. After completing that, restart the gateway.This isn't a fix — it's a workaround until the gateway-side polling is addressed. The root cause (device-code completion not signaling back to the CLI) appears to live in the gateway's Copilot auth provider implementation rather than the Windows Companion app.
Add this agentic workflows to your repo
To install this agentic workflow, run
1 remaining item
github-actions commentedon Jul 28, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updated OpenClaw Windows details or it will be closed.
bkudiess commentedon Jul 29, 2026
Thanks for the detailed reproduction. Because the same failure occurs with
openclaw models auth login-github-copilot, this is in the main OpenClaw GitHub Copilot login flow rather than the Windows companion.The symptom strongly matches the device-login polling bug fixed by openclaw/openclaw#109740. The previous poller could remain stuck after browser authorization when GitHub returned
slow_down; the fix waits before polling and correctly increases the polling interval. The first release proven to contain it isv2026.7.2-beta.3.No Windows companion code change is required, so we’re closing this report as fixed upstream. If the CLI still fails to resume on that or a newer containing build, please report it in openclaw/openclaw with only the OpenClaw version and sanitized terminal status. Do not attach tokens, device codes, credential files, or auth profiles.