auto-reauth
Requires: Fabric API Mod Menu
This is a mod that automatically re-authenticates your session when it expires. Without this mod, you need to restart your game every time your session expires (about every day).
Usage
After installing, you will need to sign in through auto reauth, so it can store your authentication tokens. To do this, open the mod menu find auto reauth and open the config menu. Here you can click "Login" to be redirected to the Microsoft login page, after signing in (if everything goes well) you will be redirected to a page that says "You can close this tab now", at this point your authentication tokens are stored, and you can close the tab. Now, anytime you open the multiplayer menu, auto reauth will check your session status, and re-authenticate if necessary. The tokens may expire after some time (like 90 days) so if you start having issues with the mod, try logging in again.
Do note that using this mod will store your authentication tokens in your config folder (config/auto-reauth/config.nbt). So just be careful about that.
References
- Microsoft Authentication Scheme — Information on how the Microsoft authentication flow works for Minecraft.
- Auth Me — A mod that lets you re-authenticate your session manually.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+