question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Authenticating with a Microsoft account

See original GitHub issue

Is your feature request related to a problem? Please describe. Mojang are transitioning to Microsoft authentication and intend to completely switch over to it in the future. I haven’t been able to figure out how to use my new Microsoft account with #createClient().

Describe the solution you’d like It would be great for the package to treat Microsoft and Mojang accounts equal, i.e. supply an email and a password for the username and password ClientOptions

Describe alternatives you’ve considered I’ve attempted to authenticate my Microsoft account with the access- and clientTokens I extracted from my .minecraft/launcher-accounts.json file but I’m not sure what username to supply. I’ve tried using my Microsoft email, my Minecraft username, and my Xbox username (seeing as this one is also saved in launcher-accounts.json I figured it was worth a shot) but none has worked.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
rom1504commented, Dec 1, 2020

As of now, minecraft does not use microsoft accounts and mojang did not provide any technical details on how this will work. So there is nothing to do, it will not work to try anything now. Just wait for microsoft to enable this.

On Tue, Dec 1, 2020, 22:24 Viktor Danov notifications@github.com wrote:

Is your feature request related to a problem? Please describe. Mojang are transitioning to Microsoft authentication and intend to completely switch over to it in the futureand I haven’t been able to figure out how to use my new Microsoft account with #createClient().

Describe the solution you’d like It would be great for the package to treat Microsoft and Mojang accounts equal, i.e. supply an email and a password for the username and password ClientOptions

Describe alternatives you’ve considered I’ve attempted to authenticate my Microsoft account with the access- and clientTokens I extracted from my .minecraft/launcher-accounts.json file but I’m not sure what username to supply. I’ve tried using my Microsoft email, my Minecraft username, and my Xbox username (seeing as this one is also saved in launcher-accounts.json I figured it was worth a shot).

Additional context Add any other context or screenshots about the feature request here.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/node-minecraft-protocol/issues/782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437UC2QOTUNW3BBKVCD3SSVNI5ANCNFSM4UJSHC6Q .

1reaction
rom1504commented, Dec 7, 2020

https://wiki.vg/Microsoft_Authentication_Scheme now we have some doc, implementation can start

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure Microsoft authentication - Azure App Service
Add Microsoft Account information to your App Service application · Go to your application in the Azure portal. · Select Settings > Authentication...
Read more >
Microsoft account sign in | Microsoft identity platform
Give your users a simple, secure way to sign in with their Microsoft work, school, or personal account (MSA) powered by Azure Active...
Read more >
How to use two-step verification with your Microsoft account
Two-step verification begins with an email address (we recommend two different email addresses, the one you normally use, and one as a backup...
Read more >
How to use the Microsoft Authenticator app
Download & install the Microsoft Authenticator app to your mobile device. Sign in to your account security dashboard. Select Add a new way...
Read more >
Microsoft Mobile Phone Authenticator App | Microsoft Security
Conveniently and securely sign in to all your online accounts using multifactor authentication, passwordless sign-in or password autofill with Microsoft ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found