Authentication Fails when relogging
RyanCR03 opened this issue ยท 6 comments
Expected behavior
actually authenticating when trying to log in
Observed/actual behavior
logging in gives error "Something went wrong! Please go back and try again."
Steps/models to reproduce
go to multiplayer
click auth button
log out
try to log back in
error
Version
1.19.4-6.0.0
Agreements
- I am running the latest version of the mod.
- My version of Minecraft is supported.
- I have searched for and ensured there isn't already an open issue regarding this.
Other
No response
## When I log out in-game
Could not validate the Minecraft session!
com.mojang.authlib.exceptions.InvalidCredentialsException
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:122)
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:106)
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.joinServer(YggdrasilMinecraftSessionService.java:72)
at me.axieum.mcmod.authme.api.util.SessionUtils.lambda$getStatus$0(SessionUtils.java:159)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
## When I try to log back in via Microsoft
Unable to acquire Xbox Live XSTS token!
java.lang.Exception: There was no access token or error description present.
at me.axieum.mcmod.authme.api.util.MicrosoftUtils.lambda$acquireXboxXstsToken$16(MicrosoftUtils.java:412)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at me.axieum.mcmod.authme.api.util.MicrosoftUtils.lambda$acquireXboxXstsToken$17(MicrosoftUtils.java:409)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Confirmed last couple of versions for 1.16.5 are all also like this .
It fails after checking something about xbox.
I assumed it failed because i use an authenticator on my account, but that was not the case, all 17 of my friends Various version of windows/web-browsers are all also having the same issue ( and they don't use authenticators ) .
We have the mod installed on our server, and it keeps spamming console [ Disconnected ] every 4-5 seconds.
if we keep spamming login, and get the timing just right we are able to connect ( otherwise we keep getting the same error message of fail ).
Hi @conetopia,
I assumed it failed because i use an authenticator on my account
I also have 2FA enabled and it works for me in a fresh 1.19.4 installation (Fabric API + Auth Me).
Do you also have any logs or are they the same as #81 (comment)? The logs shared in that comment appear to allude to Xbox returning an empty response or unaccounted for response.
We have the mod installed on our server
This is a client-only mod, and will not do anything when installed on a server.
Seems to be caused by this, since this mod uses a custom Microsoft Azure client id.