[GH-ISSUE #5906] Using horizon-launcher account session from another launcher (RustLauncherMC) #1876

Open
opened 2026-11-02 15:50:19 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Svznify on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5906

Hi! I'm working on RustLauncherMC, a free, MIT-licensed fan launcher for Windows and Linux. It installs and starts Horizon and Cinnabar from one window, laid out like the official launcher.

Horizon support follows your Launch API:

  • We install the nightly after checking SHA256SUMS.sig with your release key.
  • We prepare the files with horizon-prepare.
  • We start horizon-client with only the options --launch-api lists.

What we'd like to do

Our own Microsoft sign-in app is waiting for Mojang's review. Meanwhile, we'd like players who already use your launcher to be able to play with the accounts signed in there (PR):

  1. horizon-launcher account list --json: to show the accounts and check owner before we download anything from Mojang.
  2. Right before starting the game, horizon-launcher account session <uuid> --json, then horizon-client --session-file <session_file>.
  • We never read the token: the file goes straight to the game, which deletes it.
  • We keep your owner gate: no Mojang downloads or starts without an owner.
  • We never use your client ID ourselves.

Questions

  1. Is it OK for another launcher to call account list and account session like this? The reference describes account session as "the game's own session handoff", so we didn't want to assume.
  2. If yes, could these two commands and their --json replies become part of the documented Launch API, so changes to them come with your usual deprecation period?
  3. Is there anything you'd like us to do differently, such as identifying ourselves, a different command, or how we find horizon-launcher on Windows (we currently ask the player to choose it)?

If you'd rather we didn't use this, just say so and we'll remove it. Thanks for Horizon and for documenting the Launch API so clearly. It made the integration easy.

Originally created by @Svznify on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5906 Hi! I'm working on [RustLauncherMC](https://github.com/RustLauncherMC/Launcher), a free, MIT-licensed fan launcher for Windows and Linux. It installs and starts Horizon and Cinnabar from one window, laid out like the official launcher. Horizon support follows your Launch API: - We install the nightly after checking `SHA256SUMS.sig` with your release key. - We prepare the files with `horizon-prepare`. - We start `horizon-client` with only the options `--launch-api` lists. ## What we'd like to do Our own Microsoft sign-in app is waiting for Mojang's review. Meanwhile, we'd like players who already use your launcher to be able to play with the accounts signed in there ([PR](https://github.com/RustLauncherMC/Launcher/pull/8)): 1. `horizon-launcher account list --json`: to show the accounts and check `owner` before we download anything from Mojang. 2. Right before starting the game, `horizon-launcher account session <uuid> --json`, then `horizon-client --session-file <session_file>`. - **We never read the token:** the file goes straight to the game, which deletes it. - **We keep your owner gate:** no Mojang downloads or starts without an owner. - **We never use your client ID ourselves.** ## Questions 1. **Is it OK** for another launcher to call `account list` and `account session` like this? The reference describes `account session` as "the game's own session handoff", so we didn't want to assume. 2. If yes, **could these two commands and their `--json` replies become part of the documented Launch API**, so changes to them come with your usual deprecation period? 3. **Is there anything you'd like us to do differently**, such as identifying ourselves, a different command, or how we find `horizon-launcher` on Windows (we currently ask the player to choose it)? If you'd rather we didn't use this, just say so and we'll remove it. Thanks for Horizon and for documenting the Launch API so clearly. It made the integration easy.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1876
No description provided.