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

Bank HaPoalim is asking for 2FA in chromium #823

Open
liranelisha opened this issue Jan 5, 2024 · 16 comments
Open

Bank HaPoalim is asking for 2FA in chromium #823

liranelisha opened this issue Jan 5, 2024 · 16 comments

Comments

@liranelisha
Copy link

starting last week, Bank HaPoalim is asking for elevated privileges via 2FA through the phone for unknown sessions, causing each run from the scraper to prompt the 2FA

@daniel-hauser
Copy link
Contributor

Where do you run the scraper from? It might be related to the location of the servers.
I'm running in GitHub actions and never got a 2fa request

@liranelisha
Copy link
Author

i run it locally from a machine in israel

@JavierChames
Copy link

Hi ,i have the same issue(running the code on raspberry pi)-any idea for a solution?

@baruchiro
Copy link
Collaborator

@galbarm

@gbarmashiahflir
Copy link

Happens to me to well.
What's weird is that when testing with showBrowser: true, the login finishes successfully and no 2FA is requested.

@liranelisha
Copy link
Author

@gbarmashiahflir yeah, that's my mitigation as well. when scrapping hapoalim i show browser. that makes sense as the headlesss browser and headed browser has different signature, making the headed browser show the 2fa once, and once solved not showing it again. however this isn't possible with headless browser.
waiting to see if there could be a more reliable solution

@ranrib
Copy link

ranrib commented Apr 16, 2024

I'm experiencing the same issue. It looks like when I'm trying a new machine/IP (changing somehow my signature), it asks for 2FA again.

@JavierChames
Copy link

i found a "kind" of workaround for my case, I use raspberry pi, usually i installed a light version of Raspbian os(OS for raspberry pi) with no desktop(only cli)-this time i installed the desktop version enter to the browser-get the SMS to enter the code, enter to the site. and then tried again the script-this time it worked..not the best-but for my case its seems to work 🤣

Copy link

Issue has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Nov 20, 2024
@baruchiro
Copy link
Collaborator

I think now with One Zero, this project supports the 2FA process.

Maybe we can configure HaPoalim to use a 2FA process when needed.

@github-actions github-actions bot removed the Stale label Nov 22, 2024
@JavierChames
Copy link

Hi
the issues occurs again..it worked and somehow it request for 2F now.any idea anyone?

@liranelisha
Copy link
Author

it reoccurs on my machine as well every 3 or 4 months

@JavierChames
Copy link

@liranelisha any idea for solution?

@JavierChames
Copy link

@sebikaplun maybe you? :-) regarding the issue of 2FA for Bank hapoalim?

@sr01
Copy link

sr01 commented Jan 18, 2025

An OTP is required when using a new device. The device identifier is stored in local storage. To persist it, Puppeteer must be configured with userDataDir.

@JavierChames
Copy link

The issue is that its not a new device...
For example, i run it from Raspberry pi, when i open the browser there is no issue.
But if i run the script it requires the 2FA...

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

7 participants