OAuth2 for Minecraft
Verify players with
their Minecraft account
No passwords. No API keys. Players prove their identity by joining a Minecraft server.
How it works
1
Player joins your server
When a player connects to your Minecraft server, the MCAuth plugin generates a short one-time code and sends it to them in-game.
2
They enter the code
Your site redirects the player to MCAuth where they type the code they received. This proves they control that Minecraft account.
3
You receive their UUID
Exchange the auth code for the player's verified Minecraft UUID and username — ready to use in your database.
Simple to integrate
Redirect players to the authorization URL, handle the callback, and exchange the code. Standard OAuth2 — works with any language.
Full documentationAuthorization URL
/oauth/authorize ?client_id=YOUR_CLIENT_ID &redirect_uri=https://yoursite.com/callback &state=RANDOM_STATE
Token Response
{
"minecraft_uuid": "069a79f4-...",
"minecraft_username": "Notch"
}
Ready to add Minecraft auth to your site?
Register an account, create an application, and you're live.