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.netValidate 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"
}{
"success": false,
"message": "Token parameter non existant or empty"
}{
"success": false,
"message": "Token not found"
}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"
Last updated
Was this helpful?