Sintinium / oauth

A simple mod to allow players to login within the multiplayer screen. It has support for Mojang and Microsoft accounts.
https://www.curseforge.com/minecraft/mc-mods/oauth/
GNU Lesser General Public License v3.0
17 stars 14 forks source link

Cannot log in using either method #69

Open CyrusRevaine opened 1 week ago

CyrusRevaine commented 1 week ago

Using Linux Mint 22, JRE 8.0.322, Minecraft 1.12.2, Forge 14.23.5.2860, OAuth 1.06.4, launching my game through PrismLauncher (Flatpak, v9.1)

Upon clicking "Microsoft Login" I see the following in my log and the browser never opens. image

If I try to use the Mojang login, I get a red message saying "You seem to be offline.", even when OAuth says "Status: online".

Any fix/workaround would be greatly appreciated.

Sintinium commented 1 week ago

The Arch Linux wiki says that Java uses gnome to launch the browser. From what I see installing gvfs-libs fixes it without installing the whole gnome virtual file system. If not then gvfs itself has to be installed which has a lot of dependencies. Sadly this is the only workaround I see. I will try to implement a proper fix eventually but I haven't had the motivation to update this mod in a while

https://wiki.archlinux.org/title/Java#Java_applications_cannot_open_external_links