Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Login with Phone Number feature of Whatsapp Web instead of QR code link #3370

Open
2 tasks done
9node opened this issue Nov 8, 2024 · 2 comments
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@9node
Copy link

9node commented Nov 8, 2024

Is the feature you are looking for already implemented in the library?

  • I have reviewed the implemented features.

Is your "solution" already implemented in an opened pull request?

  • I have reviewed the existing pull requests.

Is your feature request related to a problem? Please describe.

Having to scan the session in the server logs of the cloud

And also could not connect from a distance, like out of reach of my System and somehow the cloud reset my service, need to get back to my workplace, go to the server logs, and scan the QR again

Being able to login with Phone number and entering the code will allow me to scan from a distance

Describe the solution you'd like.

It would basically take the phone number hardcoded/prompted at runtime, then returns the 8 alphabet code instead of QR-link in as a response to qr event, and for connecting the Whatsapper has to go to his Linked Devices > Login with Phone Number (at bottom) > Input the 8 alphabet code & connect from a distance !

Describe an alternate solution if you have one.

No response

Additional Context

No response

@9node 9node added the enhancement New feature or request label Nov 8, 2024
@wis-dev

This comment was marked as off-topic.

@wis-dev
Copy link

wis-dev commented Nov 8, 2024

You can use the method requestPairingCode() from Client class.

Ref: requestPairingCode(phoneNumber: string, showNotification = true): Promise

Related PR: #3180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants