ModsFinder

No Invalid Session ID

by Corrupt3r

No Invalid Session ID stops the Invalid Session warning that appears on the multiplayer screen, by refreshing the Microsoft session token in the background.

FabricClient-side onlyApache License 2.026.1 – 26.3

What it does

Once a player has completed the one-time Microsoft login the mod asks for, the session is refreshed silently when the game starts, so the warning and the need to relaunch the game are avoided. The login is an OAuth 2.0 flow run through the official Microsoft site, and the resulting refresh token is stored in an AES-256-GCM encrypted file under the user's home directory, outside the Minecraft folder, with restricted file permissions on Mac and Linux.

The mod is client-side only, so only the client needs it and servers do not change. It requires Fabric API and supports multi-account use on the same device, with a separate token file for each account. The author notes that a code can expire after 90 days of inactivity, in which case the on-screen instructions can be followed again to enter a new code. Installation is required only once, after which the refresh works without further login unless the account has been inactive for that long.

Key features

  1. Silent session refresh

    The session ID is refreshed in the background, so the Invalid Session warning does not appear on the multiplayer screen.

  2. One-time code entry

    A code obtained from the Microsoft site is pasted into the mod's screen once, and the rest of the login is handled automatically.

  3. Encrypted token storage

    The refresh token is kept in an AES-256-GCM encrypted file in the user's home directory, outside the Minecraft folder.

  4. Multi-account support

    Each account on the same device gets its own token file, so several accounts can be used without repeating the login.

Compatibility

Latest build for each game version and loader.

26.33.1.0
26.23.1.0
26.1.22.0.0
26.1.12.0.0
26.12.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

How it compares

Full comparison

XBridge Auth is also a Fabric mod for 26.1 – 26.3, client-side only and released under All rights reserved, so its code is not open source. Turnstile is released under the GNU General Public License v3.0 only, but it is server-side only and targets 26.2. Keychain: In-Game Account Manager is client-side only, released under the MIT License and covers 1.21.11 – 26.3, so it is a better fit for players who switch between many accounts.

ModLoadersGame versionsEnvironmentUpdated
No Invalid Session IDFabric26.1 – 26.3Client-side only2026-09-19
XBridge AuthFabric26.1 – 26.3Client-side only2026-10-02
TurnstileFabric26.2Server-side only2026-07-20
Keychain: In-Game Account ManagerFabric1.21.11 – 26.3Client-side only2026-10-10

Questions

Does No Invalid Session ID need Fabric API?

Yes. Fabric API is the only required dependency, and the mod is published for Fabric alone.

Do servers need to install No Invalid Session ID?

No. Servers do not need it; each player installs it for their own game.

Why might the login be needed again?

The author notes that a code can expire after 90 days of inactivity, so the login screen has to be completed again after that period.

In the catalog

No Invalid Session ID is one of 5,392 Social mods on ModsFinder, and one of 4,084 Social mods for Fabric. 8,071 mods support Minecraft 26.3.

More from Corrupt3r

All projects

Similar mods

What the author says

This mod removes the pesky "Invalid Session" so you never have to relaunch your game to start a new session ever again! When you first launch with this mod, you will get a message on your multiplayer screen saying to go to an official Microsoft site to put in a code that the mod will generate. All that this does is…
Corrupt3r, on the Modrinth page

Official listing

Owner
Corrupt3r
Published
2026-04-10
Updated on Modrinth
2026-09-19
Facts verified
2026-10-15

Tags