MultiMC / Launcher

A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once
https://multimc.org/
Other
4.32k stars 882 forks source link

Can't add microsoft acount #4262

Open KamilC00 opened 3 years ago

KamilC00 commented 3 years ago

Operating System

Windows

Description of bug

I can't add Microsoft account to MultiMC, tried googling the error didn't find anything specfic, tried changing my age on Microsoft account and migrating account to different region(got error). My log: https://paste.ee/p/R1KyP

Steps to reproduce

1 Open MultiMC 2 Profiles 3 Manage accounts 4 Add Microsoft 5 Open https://www.microsoft.com/link 6 Paste code 7 Put in Microsoft password and press next/login 8 Press Yes at "Grant the app access to information" 9 Get "XBox Live is not available in your country. You've been blocked." Error in MultiMc

Suspected cause

No response

This issue is unique

KamilC00 commented 3 years ago

Ok but when using normal Minecraft launcher everything works no error while logging in Edit1. Made ticket with Microsoft and waiting for answer from them.

peterix commented 3 years ago

It's really preferential/different treatment based on being or not being an XBox title.

MultiMC is not an XBox title. It has no exceptions applied to it like the Mojang launcher does. So some extra constraints apply.

There is absolutely nothing I can do about it without MultiMC somehow becoming an XBox title, overhauling all of the authentication again, and negotiating these exceptions with Microsoft.

I don't think I have it in me to even begin doing that.

peterix commented 3 years ago

On top of that, the error code translating to a message is a guess.

For the purpose of talking to support, this is more useful: You are getting error code 2148916235 from endpoint https://xsts.auth.xboxlive.com/xsts/authorize This can be for either of these relying parties:

It would be interesting to find out which one of them actually gave you the error.

So let's dig into that a little bit more.

peterix commented 3 years ago

Also 0x8015DC0B - this gets more search engine results - it's the same number in hex

phit commented 3 years ago

@KamilC00 are you in the Ukraine?

peterix commented 3 years ago

Some interesting results:

You might have to resort to some creative solutions.

peterix commented 3 years ago

So the answer is: it's political.

kyrtion commented 3 years ago

@KamilC00 If are you in Russian, tell me this. Maybe can help you

KamilC00 commented 3 years ago

@phit and @kyrtion Im from Poland, @peterix will check out the links thanks

glowiak commented 2 years ago

Jaki masz system?

KamilC00 commented 2 years ago

@glowiak using older (like 3-4 years old) HP omen 15 ce008nw (i7-7700hq and gtx 1050) laptop.

After trying with Mojang, Xbox and Microsoft support i didn't get any concrete answer. I don't wanna use a vpn so my work around is just using vanilla Minecraft launcher with curse forge app as a mod manager. I hope Microsoft will fix some day their stupid auth api.

ghost commented 2 years ago

For me when I try to login using my microsoft account it says "Failed to get minecraft acces token:conncetian lost" And I am using my school laptop if that has anything to do with it

EvanEvan-17 commented 2 years ago

It looks like that the country ban because MultiMC use normal XSTS flow. Try using Sisu auth flow using Minecraft client id, it may help.

cyr-kov commented 1 year ago

I've found the solution. Use to any Windows instance to run MultiMc then do auth procedure there. After your Minecraft Microsoft account have been successfully added - find and copy accounts.json file to your linux instance. Works for me. Ubuntu 20.04. MMC(0.7.0 / mmc installer 1.6.2.deb)

sn1tr0n commented 1 year ago

For me logging in with my Microsoft account (not GitHub) solved the problem. After logging in a page appears with permissions for MultiMC, which you have to accept.

cyr-kov commented 7 months ago

Confirm. You need to log with your microsoft account not the git-hub one

connorlacour commented 1 month ago

For me logging in with my Microsoft account (not GitHub) solved the problem. After logging in a page appears with permissions for MultiMC, which you have to accept.

for anyone still encountering this issue, this fixed it for me