x-minecraft-launcher
x-minecraft-launcher copied to clipboard
Microsoft Account Failing to Authorize
Attempting to add an account via Microsoft continuously fails, throws this error under the login page:
{"exception":{"type":"userAcquireMinecraftTokenFailed","error":"ClientAuthError: network_error: Network request failed. Please check network trace to determine root cause. | Fetch client threw: Error: HTTP status code 400 | Attempted to reach: https://login.microsoftonline.com/consumers/oauth2/v2.0/token"},"name":"UserException","message":"","stack":"UserException\n at C:\Users\[my name]\Documents\Minecraft Shit\X Minecraft Launcher\resources\app.asar\dist\index.js:200:19304\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async Proxy.loginMicrosoft (C:\Users\[my name]\Documents\Minecraft Shit\X Minecraft Launcher\resources\app.asar\dist\index.js:200:19174)\n at async Proxy.login (C:\Users\[my name]\Documents\Minecraft Shit\X Minecraft Launcher\resources\app.asar\dist\index.js:200:22344)\n at async ServiceManager.startServiceCall (C:\Users\[my name]\Documents\Minecraft Shit\X Minecraft Launcher\resources\app.asar\dist\index.js:201:15813)\n at async node:electron/js2c/browser_init:197:563","serviceName":"UserService","serviceMethod":"login"}
To Reproduce I honestly don't know if this is reproducible behavior, but the way it happened for me was this:
- Click on "Add Account" with a fresh install - I used the zip file
- Choose "Microsoft" as auth service
- Enter email address and click "login"
- Log in to your Microsoft account on the webpage that pops up
- Go to the XMCL authentication page, it says "Succeed!"
- Go back to XMCL app
- Login page closes out, account isn't added.
Expected behavior Adding my account to let me log in and play the game through this launcher.
Screenshots
Environment
- OS: Windows 10
- Windows Version: 21H2
- XMCL Version: v0.30.1
Additional Context Generated report file: report.zip
Me too.
Me too
You need to refresh several times. If you can't, restart the program and log in and refresh again.