OAuth
Adds the ability to login and authenticate to Microsoft, Mojang, or Legacy accounts!
About this Mod
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 leave the password field blank you can
login offline with any username you want! This only works on offline
servers or in singleplayer however. Features:Supports Legacy, Mojang, and Microsoft account logins.Adds a new button to the multiplayer screen to login and fix invalid sessions.Allows you to login to different accounts without closing your game.Ability to set your username for playing offline by leaving the password field blank.Mod only needs to be installed on the client to work.
Features
- Supports Legacy, Mojang, and Microsoft account logins.
- Adds a new button to the multiplayer screen to login and fix invalid sessions.
- Allows you to login to different accounts without closing your game.
- Ability to set your username for playing offline by leaving the password field blank.
- Mod only needs to be installed on the client to work.

Available Versions
How to Install OAuth on Your Client
Install the Mod Loader Locally
Install fabric for your local Minecraft version.
Download the Matching File
Choose the OAuth file for fabric and Minecraft 1.20.
Install Mod
Place the .jar file in your local .minecraft/mods folder and restart Minecraft. No server-side installation is required.
Compatibility
Mod Loaders
Minecraft Versions
1.20, 1.19.3, 1.19.2 (+8 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Does OAuth need to be installed on the Minecraft server?
No. Modrinth marks OAuth as unsupported on the server side. Install it only in your local Minecraft mods folder. Your server can remain unchanged unless the mod page lists an additional dependency.
Which version and loader does OAuth require?
Use a file for fabric, forge and your exact Minecraft version. Supported versions include 1.20, 1.19.3, 1.19.2. Files for different loaders are not interchangeable.
OAuth is not working – what should I check?
First check the Minecraft version, loader version and required dependencies. Put the .jar file in your local .minecraft/mods folder and remove older duplicates. Because this mod is client-side, adding server RAM will not fix it.
Similar Mods
Minecraft Server for Your Group
OAuth stays on your client. Host a compatible world for your group.