Minecraft OAuth

How to acquire a token

A token is acquired by your users by joining the following Minecraft server. While I don't know exactly what versions are supported, it at least supports Minecraft version 1.6 and up which is more than enough.

mcoauth.dojnaz.net

Validate Token

GET https://api.dojnaz.net/mcoauth/validate/:token

This endpoint allows you to validate tokens provided by your users

Path Parameters

Name
Type
Description

token

string

The ID provided by your user

{
    "success": true,
    "username": "Hypixel",
    "uuid": "f7c77d99-9f15-4a66-a87d-c4a51ef30d19"
}

Status

GET https://api.dojnaz.net/mcoauth/status

Get the status of the service. Validating tokens will still work even if this returns "status": "offline"

{
    "status": "online",
    "motd": "§aMCOauth | Connect to get your token",
    "activeTokens": 420
}

Last updated

Was this helpful?