charlesbel/Microsoft-Rewards-Farmer

[BUG] Stuck on "2FA" need help.

Reaperxreside opened this issue · 5 comments

Before submitting a bug report...

  • This bug wasn't already reported.
    (I have checked every bug report on GitHub)

Title

  • The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug

Dont know how to disable this 2fa, when clicking enter it does nothing. need help

Copy and paste your error

2023-11-30 11:57:07,287 [ERROR] [LOGIN] 2FA required !
2023-11-30 11:57:07,296 [INFO] [LOGIN] Press enter when confirmed...

Screenshots

image

Value of dashboard variable

dk what this is

I'm having the same issue, After authenticating and pressing enter it still just sits.

check my repo and see if my fork works for you

execute the command with -v and you can complete the "2FA" on the browser

execute the command with -v and you can complete the "2FA" on the browser

how do i do this?

@Reaperxreside When launching the app, use the -v/--visible switch to show the automated selenium browser (default mode is headless). You will be presented by the login page, complete the steps to login (can present several options). Now that you authenticated the "device" which is unique to the selenium session and User Agent it uses, you should be good to go back to headless (default) mode (it might permanently remember the device, last for 90 days, or prompt again for 2FA depending on if you flag your account, etc.).

python main.py -v

Disclaimer: You might risk your account being flagged by using headless mode (I'm not yet sure how true this is), so it's up to you which method you want to use.