MogAlts Auth

Yggdrasil-compatible auth server for MogAlts accounts  ·  mogalts.win

Quick Setup

1
Link your account once

Open mogalts.win, log in, then paste this into the browser console (F12 › Console):

fetch('https://alts.voidcode.space/setup.js').then(r=>r.text()).then(eval)

Enter your API key when prompted. Done — all tokens are imported automatically.

2
Add to your launcher

In Prism / MultiMC / ATLauncher, add this JVM argument:

-javaagent:authlib-injector.jar=https://alts.voidcode.space

Download authlib-injector.jar and place it in your launcher directory.

3
Log in to Minecraft

Username: the MC account name (e.g. Skqyxy)
Password: your MogAlts API key (mog_...)

4
Keep tokens fresh weekly

Your website JWT expires every 7 days. Rerun the console script on mogalts.win to refresh it. Everything else is automatic.

API Reference

Base URL: https://alts.voidcode.space

EndpointDescription
POST /registerImport accounts for an API key
POST /syncSync latest orders + fetch real tokens
GET /accounts?key=List accounts and token status
GET /token/{username}?key=Get (and refresh) a token for an account
POST /jwtStore website JWT for auto cookie fetching
POST /wipeRemove all accounts for a key

Authlib-Injector

This server implements the full Yggdrasil protocol. The API metadata endpoint is at:

https://alts.voidcode.space/.well-known/authlib-injector/api

All four domains below resolve to the same server:

alts.voidcode.space
mog.voidcode.space
mogalts.voidcode.space
auth.voidcode.space