klept0 / MS-Rewards-Farmer

A simple bot that uses Selenium to farm M$ Rewards in Python
MIT License
204 stars 41 forks source link

Title MFA login stack #147

Closed inlfwetrust closed 3 weeks ago

inlfwetrust commented 1 month ago

Before submitting a bug report...

Title

Branch

master

Commit

N/A

Describe the bug

My account has MFA enabled After this: 2024-07-15 15:40:05,350 [INFO] [LOGIN] Writing password... I am getting notification to approve the log-in It shows this 2024-07-15 15:40:12,555 [INFO] [LOGIN] No email proof, all clear and does not progress further

When I run it with -V it shows that the page just stack on the MFA page. If I open another tab and login manually, restart it works until the session is expired.

Copy and paste your error

2024-07-15 15:39:50,911 [INFO] [LOGIN] Logging-in... 2024-07-15 15:40:00,896 [INFO] [LOGIN] Entering email... 2024-07-15 15:40:05,350 [INFO] [LOGIN] Writing password... 2024-07-15 15:40:12,555 [INFO] [LOGIN] No email proof, all clear

Screenshots

image

Value of dashboard variable

N/A

inlfwetrust commented 1 month ago

I did some tests and it turned out this option is culprit of the issue in browser.py options.add_argument("--blink-settings=imagesEnabled=false") removing this option resolves the issue

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open for 14 days with no activity.

klept0 commented 3 weeks ago

Added a note to the browser.py file for others just in case - thank you for the input