Keychain
No reviews yet
Switch between Microsoft and offline Minecraft accounts in-game with the real Microsoft login. No codes, no restart, encrypted at rest.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Keychain
Switch Minecraft accounts in-game without restarting. A Keychain button is added to your title screen and pause menu. Click it, pick Add Online, and the real Microsoft sign-in page opens in your browser. Sign in normally — email, password, 2FA — and your account appears in the list. Click any saved account to switch to it instantly.
Features
- 🔑 One-click account switching — click any saved account in the list, you're switched. No restart.
- 🌐 Real Microsoft login — opens
login.microsoftonline.comin your browser. Same form Microsoft uses everywhere. Email, password, 2FA, all official. - 👤 Offline accounts — pick a username, switch immediately. Same
OfflinePlayer:UUID derivation vanilla uses. - 🔒 Encrypted at rest — your saved tokens are AES-GCM-encrypted with a key tied to your machine. Anyone who copies your
.minecraftfolder gets unreadable data. - 🚫 Zero telemetry — only talks to Microsoft and Mojang's official endpoints. No phoning home, no analytics.
- ⚡ Tiny — ~50 KB jar. No bundled browser, no native libs.
- 🧹 Clean UI — top-left button, two big actions, click-to-switch, right-click-to-remove.
How it works
Keychain uses the OAuth 2.0 Authorization Code flow with PKCE — the same flow MultiMC, Prism Launcher, and Auth Me use. When you click Add Online:
- Keychain starts a tiny local HTTP server bound to
127.0.0.1on a random free port. - Your default browser opens to the official Microsoft sign-in page.
- You sign in with your real credentials. 2FA and security keys work normally.
- Microsoft redirects back to
http://localhost:<port>/callback. - Keychain captures the auth code, exchanges it through the standard Microsoft → Xbox Live → XSTS → Minecraft Services chain.
- Your account appears in the list, encrypted to disk.
The local server only exists during the ~5-minute sign-in window and shuts down immediately afterwards.
Privacy
- 🔐 AES-GCM encryption of
<gamedir>/config/account-switcher.jsonusing a key derived from your OS user + machine name. Tokens are unreadable on any other machine. - 🚷 No tokens in logs.
latest.logand crash reports never contain access tokens, refresh tokens, or auth codes. - 🛡️ PKCE + state parameter — protects against code interception and CSRF.
- 🌐 HTTPS-only outbound traffic to:
login.microsoftonline.com,user.auth.xboxlive.com,xsts.auth.xboxlive.com,api.minecraftservices.com. Nothing else. - 🔒 Loopback-only local callback server (
127.0.0.1, never reachable over your network).
Installation
- Install Fabric Loader for Minecraft 26.1.x.
- Download Fabric API and drop it into
%APPDATA%\.minecraft\mods(Windows) /~/Library/Application Support/minecraft/mods(macOS) /~/.minecraft/mods(Linux). - Drop the Keychain jar into the same folder.
- Launch Minecraft. Keychain button is at the top-left of the title screen and pause menu.
Compatibility
- ✅ Minecraft 26.1, 26.1.1, 26.1.2 (Fabric)
- ✅ Java 25
- ✅ Client-side only (don't put it on your server)
- ⚠️ Mid-server account switching may kick you — switch from the title screen for cleanest behaviour.
- ⚠️ Skin doesn't refresh on a server you're already connected to. Disconnect and reconnect after switching.
FAQ
Why does the Microsoft consent screen say "Auth Me for Minecraft"? Keychain ships with a public Azure App ID registered by Auth Me (axieum), used by ~9.6 million players. If that ever gets revoked, Keychain has a built-in Use custom Azure ID fallback to paste your own.
Is this safe for my Microsoft account?
Yes. The mod opens the real login.microsoftonline.com — you're signing in to Microsoft directly, not to me. Verify the URL bar. Same flow as the official Minecraft launcher and every major third-party launcher.
Will my token file leak if I share my .minecraft folder? No. The file is AES-GCM-encrypted with a per-machine key. Unreadable elsewhere.
Can I sign in to multiple accounts and switch? Yes — that's the entire point. Add as many as you want, click any one to switch.
Does it work on servers? Yes for switching from the title screen / pause menu before joining. Switching mid-game on a server will likely get you kicked because the protocol session changes.
Source & support
Made by Domsimus.
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers