-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
WhatsApp QR-unavailable/headless login needs phone-code fallback #85867
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
QR-based WhatsApp Web linking can be impractical from headless gateway hosts and can fail when the phone scanner does not pick up the terminal or dashboard QR. In a field relink attempt, the useful fallback was WhatsApp's linked-device Link with phone number flow.
Related locked issue: #15614
Draft PR adding the CLI fallback: #85866
Desired flow
Then on the phone:
After this one-time auth step completes, OpenClaw should save the same WhatsApp Web credentials that QR login saves, and normal CLI send/receive/status flows should continue unchanged.
Notes from testing
+44 (0) ..., should be rejected or clearly documented because keeping the0can request a code for the wrong number.creds.jsonwithregistered:false,me, andpairingCode, but no completed account/platform payload. That should not be treated as a linked session, and retry paths should clear it safely before starting a new login.