FishingBot icon indicating copy to clipboard operation
FishingBot copied to clipboard

Microsoft logins works for me but not for an friend

Open Dabako opened this issue 2 years ago • 2 comments

When trying to start the bot it shows this error

We are using Vanilla Minecraft 1.18.1 on an Vanilla Server

Authentication via Microsoft works for me, but not for an friend of me.

Der Access Token konnte nicht erneuert werden. Die Anmeldung erfolgt per Passwort. [2021-12-20 12:24:52] [INFORMATION] Anmeldung mit @gmail.com:*** wird versucht (MICROSOFT)... [2021-12-20 12:24:55] [INFORMATION] java.lang.NullPointerException [2021-12-20 12:24:55] [INFORMATION] at com.github.steveice10.mc.auth.service.MsaAuthenticationService.getProfile(MsaAuthenticationService.java:206) [2021-12-20 12:24:55] [INFORMATION] at com.github.steveice10.mc.auth.service.MsaAuthenticationService.login(MsaAuthenticationService.java:240) [2021-12-20 12:24:55] [INFORMATION] at systems.kinau.fishingbot.auth.MicrosoftAuthenticator.authenticate(MicrosoftAuthenticator.java:21) [2021-12-20 12:24:55] [INFORMATION] at systems.kinau.fishingbot.auth.Authenticator.authenticate(Authenticator.java:50) [2021-12-20 12:24:55] [INFORMATION] at systems.kinau.fishingbot.Bot.authenticate(Bot.java:277) [2021-12-20 12:24:55] [INFORMATION] at systems.kinau.fishingbot.Bot.connect(Bot.java:413) [2021-12-20 12:24:55] [INFORMATION] at systems.kinau.fishingbot.Bot.start(Bot.java:272) [2021-12-20 12:24:55] [INFORMATION] at systems.kinau.fishingbot.FishingBot.startBot(FishingBot.java:82) [2021-12-20 12:24:55] [INFORMATION] at systems.kinau.fishingbot.gui.GUIController.lambda$startStop$1(GUIController.java:214) [2021-12-20 12:24:55] [INFORMATION] at java.lang.Thread.run(Unknown Source)

Dabako avatar Dec 20 '21 11:12 Dabako

Do you know if your friend enabled the two factor authentication for his account? If so, this is the problem. The bot currently does not support 2fa for Microsoft accounts but that will be added soon.

Summerfeeling avatar Dec 20 '21 22:12 Summerfeeling

As far as I know he has not enabled two factor authentication

Dabako avatar Dec 20 '21 22:12 Dabako

The authentication process got completely reworked, it should work now for everyone, just download the latest release

MrKinau avatar Nov 20 '22 02:11 MrKinau