
EasyAuth Local Sessions
A Minecraft 1.20.1 Fabric patching (mixin) mod that adds locally stored sessions for automatic authorization in EasyAuth by NikitaCartes mod to provide seamless login without password for offline players.
About this Mod
A Minecraft 1.20.1 Fabric patching (mixin) mod that adds locally stored sessions for automatic authorization in EasyAuth by NikitaCartes mod to provide seamless login without password for offline players.
Features
- Client: Seamless authorization per request by server
- Client: Stores generated authorization token after authenticating with password for the first time
- Client: Fallback to usual behaviour if server does not accept authorization token (e.g. this patch is not installed on
server or authorization token is invalid) - Client: Authorization tokens stored locally are encrypted with a key derived from player UUID and IP address of the
server (AES-GCM-256) - Client: Authorization tokens are further protected by hashing the derived key to protect them from malware on device
- Server: Generated authorization tokens are hashed to mitigate filesystem breach attack
Client-side saved authorization tokens (for servers you join) are stored in config/EasyAuthLocalSessions-client/
directory
Server-side saved authorization tokens (for players joining your server) are stored in
EasyAuth/EasyAuthLocalSessions-server
Install
Server:
- Download this mod to server
- (optional but HIGHLY RECOMMENDED!) Set
session-timeoutto-1in config/EasyAuth/main.conf to disable IP
authorization (which is insecure and unneeded with this mod)
Client:
For obvious reasons, don't install this mod to guest computers or type /logout when you're leaving it
Download this mod to client
Join the server and login with your password for the first and only time
authorization token
If you want to stop this behaviour, type
/logouton the server you want to log out fromIf you believe your authorization token was
compromised, changing password revokes all authorization tokens on
the server for your account
Important caveats:
- Locally stored authorization tokens are tied to the exact server address (see
issue #1) and player UUID (derived
from
name for offline players) - If a server changes IP address, port, domain, you'll have to authorize again. Even if you join
example.org:25565
instead ofexample.orgit will be considered a separate server with separate tokens (
see issue #1). And vice
versa, if someone hosts a server under the same domain or IP address, the mod will send the authorization token to it,
which can then be used in replay attacks.
See issue #2
Available Versions
How to Install EasyAuth Local Sessions on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.6).
Install Mod
Open the mod browser in the dashboard and search for "EasyAuth Local Sessions". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.6, 1.20.5, 1.20.4 (+3 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
EasyAuth Local Sessions server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.
Is EasyAuth Local Sessions compatible with fabric?
EasyAuth Local Sessions officially supports fabric for Minecraft 1.20.6, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with EasyAuth Local Sessions – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if EasyAuth Local Sessions consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install EasyAuth Local Sessions with just one click on your server.