Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Microsoft authentication with username and password not working #27

Open
hhhzzzsss opened this issue Mar 13, 2023 · 2 comments · May be fixed by #29
Open

Microsoft authentication with username and password not working #27

hhhzzzsss opened this issue Mar 13, 2023 · 2 comments · May be fixed by #29

Comments

@hhhzzzsss
Copy link

Recently, every time I've tried to use Microsoft authentication with a provided email and password, it's always given me the exception Invalid password or access token.

It was working before and I didn't change anything about my code, so I think Microsoft probably changed something internally.

Nothing has changed about the account I was using either, and I can still log into it normally on a regular Minecraft client.

As an additional note, when I was debugging, I found that this type of authentication still seems to work when I use a different library called node-minecraft-protocol. As far as I can tell, that library seems to authenticate the same way that this library does (node-minecraft-protocol's XboxTokenManager uses https://github.com/XboxReplay/xboxlive-auth), so I don't know why it's not working here.

@LocutusV0nB0rg
Copy link

Same issue here

@SteinGaming
Copy link

+1, i tried to replace the auth using the offical MSAL Library (https://github.com/AzureAD/microsoft-authentication-library-for-java), but I'm not getting it to work, due to something called a WsTrust not being found.

@PierreSchwang PierreSchwang linked a pull request Nov 1, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants