login stuck on authentication method (Sign in another way page)
after enter the email, it stuck on this page
Edit: that also happen on mobile, it stuck on this page. when I press the other way to sign in, its goto same page on desktop version.
i have exact same problem and it makes bot stuck, my region is sweden
I"m waiting for someone to make a PR, currently don't have time to work on this project.
@651Shadow does your fix posted in #298 happen to still handle this error?
[LOG] MOBILE [LOGIN] 2FA handling failed: TimeoutError: page.waitForSelector: Timeout 2000ms exceeded.
Call log:
- waiting for locator('#displaySign, div[data-testid="displaySign"]>span') to be visible
I made a change in #342, check it out!
I made a change in #342, check it out!
Hi! appreciate your work, its work well on Desktop login, but it still stuck on Mobile.
My headless PC and my laptop show same log, i think they stuck on same page which is get code to sign in page.
Edit: when I click the use your password it will show password page, after I input it manually its show keep me sign in modal but it will dismissed automatically by the script
I think you should enable passwordless feature to use your Authenticator app to login, it will be easier to handle in the code.
I think you should enable passwordless feature to use your Authenticator app to login, it will be easier to handle in the code.
how to do that? can you guide me to enable that feature? I dont use authenticator app for this bing account.
edit: this one? i need to install MS authenticator, right?
You can follow this instruction. https://support.microsoft.com/en-us/account-billing/how-to-go-passwordless-with-your-microsoft-account-674ce301-3574-4387-a93d-916751764c43
Once done, you will see the code number to press on the app when you're logging into your account.
I think you should enable passwordless feature to use your Authenticator app to login, it will be easier to handle in the code.
Does the script output the code for password less again, #296. Password less still requires the user to input a code in the Authenticator app and the codes weren’t appearing in the script run. I’ve been guessing from among the three possible codes.
I made a change in #342, check it out!
The login.ts in #342 is not working for mobile for me, passwordless enabled on the account:
9/1/2025, 10:56:18 PM] [PID: 65] [LOG] MOBILE [MAIN] Starting browser
[9/1/2025, 10:56:18 PM] [PID: 65] [LOG] MOBILE [LOGIN] Starting login process!
[9/1/2025, 10:56:36 PM] [PID: 65] [WARN] MOBILE [LOGIN] Email field not found
[9/1/2025, 10:56:42 PM] [PID: 65] [LOG] MOBILE [LOGIN] No 2FA skip button found, proceeding with password entry
[9/1/2025, 10:56:54 PM] [PID: 65] [WARN] MOBILE [LOGIN] Password field not found, possibly 2FA required
[9/1/2025, 10:57:30 PM] [PID: 65] [LOG] MOBILE [LOGIN] 2FA handling failed: TimeoutError: page.waitForSelector: Timeout 2000ms exceeded.
Call log:
- waiting for locator('#displaySign, div[data-testid="displaySign"]>span') to be visible
I made a change in #342, check it out!
The login.ts in #342 is not working for mobile for me, passwordless enabled on the account:
9/1/2025, 10:56:18 PM] [PID: 65] [LOG] MOBILE [MAIN] Starting browser [9/1/2025, 10:56:18 PM] [PID: 65] [LOG] MOBILE [LOGIN] Starting login process! [9/1/2025, 10:56:36 PM] [PID: 65] [WARN] MOBILE [LOGIN] Email field not found [9/1/2025, 10:56:42 PM] [PID: 65] [LOG] MOBILE [LOGIN] No 2FA skip button found, proceeding with password entry [9/1/2025, 10:56:54 PM] [PID: 65] [WARN] MOBILE [LOGIN] Password field not found, possibly 2FA required [9/1/2025, 10:57:30 PM] [PID: 65] [LOG] MOBILE [LOGIN] 2FA handling failed: TimeoutError: page.waitForSelector: Timeout 2000ms exceeded. Call log:
- waiting for locator('#displaySign, div[data-testid="displaySign"]>span') to be visible
Try to remove the session folder and try again
I made a change in #342, check it out!
The login.ts in #342 is not working for mobile for me, passwordless enabled on the account: 9/1/2025, 10:56:18 PM] [PID: 65] [LOG] MOBILE [MAIN] Starting browser [9/1/2025, 10:56:18 PM] [PID: 65] [LOG] MOBILE [LOGIN] Starting login process! [9/1/2025, 10:56:36 PM] [PID: 65] [WARN] MOBILE [LOGIN] Email field not found [9/1/2025, 10:56:42 PM] [PID: 65] [LOG] MOBILE [LOGIN] No 2FA skip button found, proceeding with password entry [9/1/2025, 10:56:54 PM] [PID: 65] [WARN] MOBILE [LOGIN] Password field not found, possibly 2FA required [9/1/2025, 10:57:30 PM] [PID: 65] [LOG] MOBILE [LOGIN] 2FA handling failed: TimeoutError: page.waitForSelector: Timeout 2000ms exceeded. Call log:
- waiting for locator('#displaySign, div[data-testid="displaySign"]>span') to be visible
Try to remove the session folder and try again
The issue is that after removing sessions, no 2FA code for passwordless login is posted in the logs:
[9/5/2025, 6:23:03 PM] [PID: 65] [LOG] DESKTOP [LOGIN] No 2FA skip button found, proceeding with password entry
Typically, the code is output in the logs, then I enter it in authenticator. Now its a 1/3 chance guess.
Edit: I may have spoke too soon, I restarted the container after a wrong guess, and it did show the code for mobile in the logs after the restart.
Le script est bloqué sur En attente d’autorisation... j’ai remarqué que le modèle d’utilisation de la clé d’accès apparaît de manière aléatoire après avoir sauté, ce qui bloque le script en attente d’autorisation...
![]()
Fix: https://github.com/TheNetsky/Microsoft-Rewards-Script/pull/349
关闭2FA认证,在Authenticator中删除就行了