Minecraft OAuth
Simple Minecraft authentication
A free-to-use Minecraft authentication service. Authenticate Minecraft users without collecting their Microsoft account credentials.
Minecraft server auth
To get a login token, join
auth.incidents.cc
with Minecraft.
You will be disconnected with a 6-digit code, which can then be exchanged for your Minecraft username and UUID.
API Usage
GET
/token/{id}
— resolves and invalidates the token.
| Parameter | Description |
|---|---|
| status | Status of the requested token |
| message | User-friendly response message |
| username | Minecraft in-game username |
| uuid | Minecraft user UUID, with dashes |
TypeScript example
interface OAuthResponse {
status: string;
message: string;
username: string | null;
uuid: string | null;
}
async function resolve(token: string) {
const response = await fetch(
`https://auth.incidents.cc/token/${token}`
);
const data =
await response.json() as OAuthResponse;
if (!response.ok) {
throw new Error(data.message);
}
return data;
}
Response
{
"status": "success",
"message": "Token resolved successfully",
"username": "Notch",
"uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5"
}