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.
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
Silent session refresh
The session ID is refreshed in the background, so the Invalid Session warning does not appear on the multiplayer screen.
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.
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.
Multi-account support
Each account on the same device gets its own token file, so several accounts can be used without repeating the login.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
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.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| No Invalid Session ID | Fabric | 26.1 – 26.3 | Client-side only | 2026-09-19 |
| XBridge Auth | Fabric | 26.1 – 26.3 | Client-side only | 2026-10-02 |
| Turnstile | Fabric | 26.2 | Server-side only | 2026-07-20 |
| Keychain: In-Game Account Manager | Fabric | 1.21.11 – 26.3 | Client-side only | 2026-10-10 |
Questions
Does No Invalid Session ID need Fabric API?
Do servers need to install No Invalid Session ID?
Why might the login be needed again?
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
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…
Official listing
- Modrinth page
- modrinth.com/mod/no-invalid-session-id
- Owner
- Corrupt3r
- Published
- 2026-04-10
- Updated on Modrinth
- 2026-09-19
- Facts verified
- 2026-10-15
