This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is how you get a minecraft token using a microsoft account (like the launcher does). | |
# The minecraft token is used to join servers, change username, skin, cape, ... | |
import requests | |
# License: do whatever you want. | |
print("You must manually use a web browser to login at https://login.live.com/oauth20_authorize.srf?client_id=00000000402B5328&redirect_uri=https://login.live.com/oauth20_desktop.srf&response_type=code&scope=service::user.auth.xboxlive.com::MBI_SSL") | |
blank_page_url = input("After login you will be redirected to a blank page, paste its url here: ") |