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

QR code Issues line 16 #1

Open
SN3-K opened this issue May 21, 2020 · 0 comments
Open

QR code Issues line 16 #1

SN3-K opened this issue May 21, 2020 · 0 comments

Comments

@SN3-K
Copy link
Contributor

SN3-K commented May 21, 2020

Source:

url = HOST + '/' + encoded

Issue:
2fa authentication is not working, the expected result is to download the actual QR code itself then upload to a local medium to scan however due to changes in the whats app web interface this is not a viable option.

Effected Lines:
Line 16 entire production script beginning.

Solution:

In the newest releases, use a non headless instance of chrome to get the QR code visually, (toggle keep logged in on via browser automation), have the user complete this authentication, check every 5 seconds for a HTML tag beyond the Authenticated portal.

if detected close the browser and reload headless, save in the config file that you are now authenticated.

For each run of the platform check for a authenticated html tag before continuing.

Raise Exception('Authentication Error, please authenticate via QR code first!')

Handle by calling the authenticate function again.

SN3-K added a commit to SN3-K/whatsapp-debt that referenced this issue May 30, 2020
bntzio added a commit that referenced this issue Jul 22, 2020
PR #1 Basic Restructure & Authentication handling, Message Formatting…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant