Auth Me
Authenticate yourself in Minecraft and re-validate your session
Auth Me is a Minecraft mod that brings account authentication into the game in the efforts of overcoming the infamous session validation error when connecting to a server.
It is a client-side only mod, built on the Fabric mod loader and is available for modern versions of Minecraft Java Edition.
Alternatives
Contributing
Thank you for considering contributing to Auth Me! Please see the Contribution Guidelines.
Security Vulnerabilities
Please review the Security Policy on how to report security vulnerabilities.
Licence
Auth Me is open-sourced software licenced under the MIT licence.
will this work on 1.19.2?
In reply to gamehuntermc:
Yes
are there any plans on making a Forge port?
I am creating a modpack, and I'd like to use your mod. You'll be credited, obviously. Is this OK?
Of course, go ahead.
I have spent the past hour trying to launch 1.19 with a legacy account (I think they changed the way versions are handled) just to have the launcher not work or not be able to use legacy accounts. with this mod i can login to my microsoft account through the launcher and then gain access to my old legacy account. thank you so much for giving me a way to access my old accounts
Thanks so much for this. Me and so many Minecraft mod devs are so thankful for this.
Thanks for making this mod! I'm a mod developer & was trying to debug an issue that only occurred on multiplayer servers, and being able to just shove this mod into my dev env and step through breakpoints on hypixel was very helpful. It's a way nicer experience than constantly re-compiling & re-starting Minecraft in a fabric instance with nothing but print statement debugging!
In reply to coderbot:
hi coderbot
1.18.2? or does it still work on it?
Oh I wasn't aware 1.18.2 was released. Will get right onto it after work! 👌
Confirmed the current version already works with 1.18.2. I've marked the file as compatible for 1.18.2 👍
Please update to 1.18.1/mark it as such, thanks.
Done. 👌
In reply to Axieum:
Thanks man!
I have a Microsoft account, and whenever I try to authenticate, I will get the prompt, say allow, and then I get the close window prompt. On Minecraft end, it says a whole bunch of random stuff about Xbox token, then says something went wrong. I'm on an M1 Macbook and have a migrated account if this makes any difference. I used to have Oauth, and the same thing would happen with Oauth. Thank you for your help.
Hi,
Can you please attach your game logs in a new issue here: https://github.com/axieum/authme/issues
Just make sure you check the contents of the log file and redact anything like filepaths etc. before sharing.
Should give me an idea of what's going on.
Thanks, Ax.
In reply to Axieum:
[10:49:56] [ForkJoinPool.commonPool-worker-2/INFO]: Verifying Minecraft session...[10:49:56] [ForkJoinPool.commonPool-worker-2/INFO]: Verifying Minecraft session...[10:49:56] [ForkJoinPool.commonPool-worker-2/INFO]: The Minecraft session is valid[10:49:57] [Render thread/ERROR]: ########## GL ERROR ##########[10:49:57] [Render thread/ERROR]: @ Render[10:49:57] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:25] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:25] [Render thread/ERROR]: @ Render[10:57:25] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:26] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:26] [Render thread/ERROR]: @ Render[10:57:26] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:27] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:27] [Render thread/ERROR]: @ Render[10:57:27] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[10:57:28] [Render thread/ERROR]: ########## GL ERROR ##########[10:57:28] [Render thread/ERROR]: @ Render[10:57:28] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[18:05:12] [Render thread/ERROR]: ########## GL ERROR ##########[18:05:12] [Render thread/ERROR]: @ Render[18:05:12] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display[18:05:15] [pool-8-thread-1/INFO]: Acquiring Microsoft auth code...[18:05:15] [pool-8-thread-1/INFO]: Launching Microsoft login in browser: https://login.live.com/oauth20_authorize.srf?client_id=e16699bb-2aa8-46da-b5e3-45cbcce29091&response_type=code&redirect_uri=http://localhost:25585/callback&scope=XboxLive.signin offline_access&state=HC5dAmNj&prompt=login[18:05:16] [pool-8-thread-1/INFO]: Begin listening on http://localhost:25585/callback for a successful Microsoft login...[18:05:20] [pool-8-thread-1/INFO]: Acquired Microsoft auth code! (M.R3_BAY.f4536a...5-7b4769699d08)[18:05:22] [pool-8-thread-1/INFO]: Exchanging Microsoft auth code for an access token...[18:05:22] [pool-8-thread-1/INFO]: [POST] https://login.live.com/oauth20_token.srf (timeout=30s)[18:05:23] [pool-8-thread-1/INFO]: Acquired Microsoft access token! (EwAYA+pvBAAUKod...Ad3LjKIiqP1igC)[18:05:23] [pool-8-thread-1/INFO]: Exchanging Microsoft access token for an Xbox Live access token...[18:05:23] [pool-8-thread-1/INFO]: [POST] https://user.auth.xboxlive.com/user/authenticate (timeout=30s)[18:05:23] [pool-8-thread-1/INFO]: Acquired Xbox Live access token! (eyJhbGciOiJSU0E...sjaTvKp5X0SvWw)[18:05:23] [pool-8-thread-1/INFO]: Exchanging Xbox Live token for an Xbox Live XSTS token...[18:05:23] [pool-8-thread-1/INFO]: [POST] https://xsts.auth.xboxlive.com/xsts/authorize (timeout=30s)[18:05:24] [pool-8-thread-1/ERROR]: Unable to acquire Xbox Live XSTS token!java.lang.Exception: There was no access token or error description present. at me.axieum.mcmod.authme.api.util.MicrosoftUtils.lambda$acquireXboxXstsToken$16(MicrosoftUtils.java:403) ~[authme-mc1.18-2.1.0.jar:?] at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?] at me.axieum.mcmod.authme.api.util.MicrosoftUtils.lambda$acquireXboxXstsToken$17(MicrosoftUtils.java:400) ~[authme-mc1.18-2.1.0.jar:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:833) [?:?][18:05:26] [Render thread/INFO]: Adding auth button to the multiplayer screen[18:05:26] [ForkJoinPool.commonPool-worker-9/INFO]: Verifying Minecraft session...[18:05:27] [ForkJoinPool.commonPool-worker-9/INFO]: The Minecraft session is valid[18:05:28] [Render thread/ERROR]: ########## GL ERROR ##########[18:05:28] [Render thread/ERROR]: @ Render[18:05:28] [Render thread/ERROR]: 65544: Cocoa: Failed to find service port for display
Hi,
Can you please check the following things?
• The account doesn't have an Xbox account. Once they sign up for one (or login through minecraft.net to create one) then they can proceed with the login.
• The account is from a country where Xbox Live is not available/banned
• The account is a child (under 18) and cannot proceed unless the account is added to a Family by an adult.
In reply to Axieum:
That would be it. The account is under 18. Thank you for the help.