Skip to content

killjoy1221/xbl-mc-web-auth-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xbox Live Minecraft Auth Test

This is a test web application for authenticating with Mojang/Minecraft via Xbox Live and OAuth2.

The login flow was mostly implemented using wiki.vg as a guide.

Prerequisites

Before starting, you will first need to obtain an OAuth 2.0 Client ID & secret by creating a Microsoft Azure application.

When prompted, use http://localhost/oauth2-callback as the redirect uri

Configuring

After obtaining your client id and secret, set the following environment variables or create a file named .env with the following values:

XBOXLIVE_CLIENT_ID=<client_id>
XBOXLIVE_CLIENT_SECRET=<client_secret>

Running

Use poetry to install dependencies and run

poetry install
poetry shell

uvicorn app:app
# or
python -m app

About

Test application for authenticating a web application with xbox live and minecraft

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published