OAuth
by sintinium
OAuth lets a player sign in to Microsoft, Mojang or Legacy accounts from inside the game, through the multiplayer screen.
What it does
On the multiplayer screen, a new button starts the login flow. The player picks an account type first. Choosing Microsoft opens the default browser so the sign-in happens on the official page, while the Mojang option accepts a username or email and password, following the same steps as the standard launcher. Leaving the password field empty sets an offline username instead, which works only on offline-mode servers or in singleplayer.
Because the login runs inside the running game, a player can switch between accounts without closing Minecraft, and the same button can repair an invalid session. The code is open source under the GNU Lesser General Public License v3.0 or later. Files target 1.7.10 – 1.20 and are published for Fabric and Forge, with the latest Fabric build being 1.0-1.17-fabric for 1.17.1 and the latest Forge build 1.1.15 for 1.20.
Key features
Three account types
Legacy, Mojang and Microsoft accounts can each be used to sign in from the game.
Multiplayer login button
A button on the multiplayer screen opens the login flow and can also refresh a broken session.
Switching accounts in play
Another account can be signed in without restarting the game client.
Offline usernames
Leaving the password field blank lets the player choose any username for offline servers or singleplayer.
Compatibility
Latest build for each game version and loader.
1.20.x1 of 1 version with builds
1.19.x3 of 3 versions with builds
1.18.x1 of 1 version with builds
1.17.x2 of 2 versions with builds
1.16.x3 of 3 versions with builds
1.7.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Changing accounts on a shared computer
A player who uses several accounts can sign in to another one without relaunching Minecraft.
Who it’s for: Players who need to sign in from inside the game, or who want to play offline under a chosen username, will find the mod useful. Server owners do not need to install it.
Questions
Does OAuth have to be installed on the server?
Can OAuth log in to an online server with a blank password?
Which loaders does OAuth support?
In the catalog
OAuth is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 10,288 mods support Minecraft 1.20.
Similar mods
What the author says
This mod adds a way to login within your game in the multiplayer screen. After, it will ask the login type. If you select Microsoft it'll open in your default browser so you can securely login. Otherwise click Mojang login to login with your username/email just like you would in the normal Minecraft launcher. If you…
Official listing
- Modrinth page
- modrinth.com/mod/oauth
- Owner
- sintinium
- Published
- 2021-11-14
- Updated on Modrinth
- 2023-06-09
- Facts verified
- 2026-10-15