Skip to content

Device-code sign-in screen does not appear on first launch in MC 1.21.5 and 1.21.6 #1

@KITE2459

Description

@KITE2459

Description

When launching OpenFriend for the very first time on Minecraft 1.21.5 or 1.21.6, the device-code sign-in screen does not appear. No sign-in prompt is shown and no device code is printed anywhere (neither in-game nor in latest.log). The Friends overlay opens directly without any authentication flow.

Steps to Reproduce

  1. Install OpenFriend Fabric mod on a fresh instance of MC 1.21.5 (or 1.21.6) with no prior authentication token stored.
  2. Launch the game.
  3. Click the Friends button on the title screen.
  4. Observe: the Friends overlay opens immediately with no sign-in prompt and no device code.

Workaround

Switching to MC 1.21.1 (a confirmed-working version) and completing the device-code sign-in there successfully stores the token. After that, returning to MC 1.21.5 works correctly — the mod authenticates automatically using the saved token.

Expected Behavior

On first launch with no stored token, the device-code sign-in screen should appear so the user can authenticate.

Actual Behavior

No sign-in screen appears. No device code is shown in-game or in the log. The Friends overlay opens as if the user is already signed in, but friend search and requests do not function (friend requests are not received by the other party).

Environment

  • Mod version: OpenFriend 1.0.0
  • Minecraft versions affected: 1.21.5, 1.21.6
  • Loader: Fabric
  • OS: Windows 10
  • Launcher: Prism Launcher

Feature Suggestion: Simpler sign-in flow

It would be great if the sign-in process could be made simpler and more seamless — similar to how snapshot 26.2-7 handles it. I completely understand if this is technically not feasible, so no pressure at all.

Also, thank you so much for building this mod. It means a lot to be able to use the Friends List on older versions. I really appreciate the work you've put into this.

heres the logs
bug-report.zip

Pinned by zerozshare

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions