dommilosz / minecraft-auth

29 stars 3 forks source link

Support for Bedrock accounts #9

Open benrobson opened 1 year ago

benrobson commented 1 year ago

Hey, I have just started working with this library, I have both a Java and Bedrock account and it doesn't list both of my accounts under account.profile is there something I am missing or can this be added?

dommilosz commented 1 year ago

So this authenticator is made for java edition. I follow this guide on how to authenticate: https://wiki.vg/Microsoft_Authentication_Scheme. I think bedrock edition authentication is not possible that way because bedrock has no launcher and authenticates within itself. I probably would be able to get username of bedrock account but cannot forward it to game in order to play later.

benrobson commented 1 year ago

Yeah cool, I was just looking to see if there was some way to do this inside of the package to authenticate them? I've basically got a website that requires the user to sign into their Microsoft account and allow the app to verify game ownership.

dommilosz commented 1 year ago

It is possible but idk if it fits this package. It was made to help launcher developers launch Minecraft with selected account. I will do some research on it and if it wouldn't increase size of this package a lot I will add it as side feature