Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Support WhatsApp passkey flow when linking device with QR code or pairing code

Aperta
#2,138 132 commenti 32 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript

Direzione di ricerca

Start by reading the linked upstream engine issues and the GOWS passkey implementation and documentation cited in the issue. Compare how the WAHA engines handle QR and pairing code authentication, then determine whether any supports completing passkey verification. Done means supporting the continuation flow or clearly documenting engine support and the limitation; the 132-comment thread may contain important decisions.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug engine:GOWS engine:NOWEB engine:WEBJS engine:WPP

Fixed

Summary

WhatsApp is now requiring a passkey flow when linking a device. WAHA exposes QR code and pairing code flows, but both get stuck because the WhatsApp mobile app asks the user to continue on WhatsApp Web and complete passkey verification.

Environment

  • WAHA image: devlikeapro/waha:gows
  • Engine: GOWS
  • Auth methods tested:
    • QR Code
    • Pairing code via POST /api/{session}/auth/request-code
  • WhatsApp mobile app: Android
  • WAHA session status after starting: SCAN_QR_CODE

What happens

When scanning the QR code, WhatsApp accepts the QR initially, but then shows:

Continue on WhatsApp Web
Keep app open on both devices. You may need to scan another QR code to use your Passkey.

When deleting the passkey and trying again, WhatsApp shows:

Create a passkey to log in
For security reasons, your account needs a passkey to link devices

The same requirement appears when using the pairing code flow.

Expected behavior

WAHA should either:

  • support this new passkey continuation flow,
  • expose a way for the user to complete the passkey step,
  • document which engines support it,
  • or clearly document that WhatsApp accounts requiring passkeys cannot currently be linked.

Steps to reproduce

  1. Start a new WAHA session.
  2. Get QR code for the session.
  3. Scan the QR code using WhatsApp mobile app.
  4. WhatsApp asks to continue on WhatsApp Web for passkey verification.
  5. Session does not complete in WAHA.

Alternative:

  1. Start a new WAHA session.
  2. Call POST /api/{session}/auth/request-code with the phone number.
  3. Enter the pairing code in WhatsApp.
  4. WhatsApp still requires passkey before linking the device.
  5. Session does not complete in WAHA.

Additional context

The same WhatsApp account can be linked successfully using the official WhatsApp Web flow, because the user can complete passkey verification in the browser.

The problem is that with WAHA, especially GOWS, there is no visible/interactable WhatsApp Web screen where the user can complete the passkey step.

Could you confirm whether this passkey flow is supported by any WAHA engine, such as WEBJS or WPP, or whether it is currently unsupported?

Image Image
Lingua principale
TypeScript
Stelle
7.6k
Fork
1.8k
Merge medio
2g 21h
PR unite (30g)
7

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di devlikeapro/waha

Tutte le issue di devlikeapro/waha

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.