[PR #3680] [CLOSED] Docs: the plan for Ely.by and other Yggdrasil sign-in providers #5146

Closed
opened 2026-11-03 05:10:34 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3680
Author: @dacrab
Created: 10/29/2026
Status: ❌ Closed

Base: main ← Head: docs/alt-accounts


📝 Commits (1)

  • 02ef2d1 Docs: the plan for Ely.by and Yggdrasil sign-in

📊 Changes

5 files changed (+193 additions, -4 deletions)

View changed files

📝 ROADMAP.md (+1 -1)
📝 docs/README.md (+1 -0)
➕ docs/alt-accounts.md (+186 -0)
📝 roadmap/roadmap.json (+2 -1)
📝 roadmap/roadmap.toml (+3 -2)

📄 Description

🤖 Opened by dacrab's AI agent (OpenCode, DeepSeek V4.1 Flash 1017), not by dacrab himself.

What and why

Issue #1270 asks for Ely.by and other Yggdrasil-compatible providers beside Microsoft, with an account
selector in the launcher. That issue is claimed and in progress, so this PR is the plan to review first,
not code: docs/alt-accounts.md.

It is written from the launcher's account code and Ely.by's documentation, and it names what a second
provider actually touches:

  • Provider on Account — Microsoft stays the serde default, so existing accounts.json files and
    keychain items keep working. Keys become (provider, uuid), because two providers can issue the same
    UUID (Ely.by derives one from the name).
  • Two sign-in ways. Ely.by recommends OAuth 2.0 (minecraft_server_session, offline_access) with a
    browser and a loopback redirect, which needs an OAuth application registered by the project and
    public-client PKCE confirmed. The Yggdrasil route (/auth/authenticate with :TOTP in the password
    field, /auth/refresh, /auth/validate, /auth/invalidate) is one client for Ely.by, Blessing Skin,
    Drasl and LittleSkin. The plan starts with Yggdrasil and adds OAuth later without changing the account
    model.
  • The session join is the one change outside the launcher's workspace: the launcher writes the
    provider and its session URL into the session file, and the game POSTs the same authlib body to the
    provider's POST /session/join instead of Mojang's. No authlib-injector, no JVM, no patched jars.
  • Textures are the textures property shape skins.rs already decodes; what changes is the allowed
    texture host per provider and the signature rule (Ely.by signs with its own key, and Cg== means "do not
    check").
  • The owner gate is the real question, and it is not mine to answer. A Yggdrasil account cannot own
    Java Edition, so the plan recommends treating it as a named offline identity: Play uses it when the
    player turned on Play without a Microsoft account, and never for Mojang downloads or Java instances.
    The alternative — a provider account passes Play by itself — is a policy change for the maintainer; the
    note states both and asks on #1270.
  • Also covered: pinned provider origins (a custom origin receives the player's password), tokens only in
    the keychain, Horizon-hosted servers gaining a session_server so online_mode can verify provider
    players, tests against a fake Yggdrasil server, and M1–M3 milestones.

The roadmap item alt-accounts keeps its later status; only its dev text and links change, and
ROADMAP.md/roadmap.json are regenerated with python3 tools/roadmap.py build.

No behaviour changes: documentation, the docs index link, and the roadmap entry.

Vanilla reference

none — the launcher's sign-in, and the game's existing session and texture code; no vanilla behaviour is
in question.

Self-check

pr_ready (tools/pr_ready.py on fedora, against origin/main at 64990cd32, 1 min 36 s)

Check Result
Scope ✅ 5 files, +193 −4
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 408 passed (1 min 36 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (no vanilla data here): CI's parity job picks the affected harnesses
Label skip-release

The PR needs the skip-release label; I have no triage rights on this repository, so it has none yet.

Refs #1270 (a plan for the claimant and the maintainer, not a claim on the issue).

🤖 Generated with OpenCode (DeepSeek V4.1 Flash 1017 via River).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/3680 **Author:** [@dacrab](https://github.com/dacrab) **Created:** 10/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs/alt-accounts` --- ### 📝 Commits (1) - [`02ef2d1`](https://github.com/horizon-rust/horizon/commit/02ef2d1d1736ccef345867403bf1b5ec7ba86701) Docs: the plan for Ely.by and Yggdrasil sign-in ### 📊 Changes **5 files changed** (+193 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `ROADMAP.md` (+1 -1) 📝 `docs/README.md` (+1 -0) ➕ `docs/alt-accounts.md` (+186 -0) 📝 `roadmap/roadmap.json` (+2 -1) 📝 `roadmap/roadmap.toml` (+3 -2) </details> ### 📄 Description > 🤖 Opened by dacrab's AI agent (OpenCode, DeepSeek V4.1 Flash 1017), not by dacrab himself. ## What and why Issue #1270 asks for Ely.by and other Yggdrasil-compatible providers beside Microsoft, with an account selector in the launcher. That issue is claimed and in progress, so this PR is **the plan to review first**, not code: `docs/alt-accounts.md`. It is written from the launcher's account code and Ely.by's documentation, and it names what a second provider actually touches: - **Provider on `Account`** — `Microsoft` stays the serde default, so existing `accounts.json` files and keychain items keep working. Keys become `(provider, uuid)`, because two providers can issue the same UUID (Ely.by derives one from the name). - **Two sign-in ways.** Ely.by recommends OAuth 2.0 (`minecraft_server_session`, `offline_access`) with a browser and a loopback redirect, which needs an OAuth application registered by the project and public-client PKCE confirmed. The Yggdrasil route (`/auth/authenticate` with `:TOTP` in the password field, `/auth/refresh`, `/auth/validate`, `/auth/invalidate`) is one client for Ely.by, Blessing Skin, Drasl and LittleSkin. The plan starts with Yggdrasil and adds OAuth later without changing the account model. - **The session join is the one change outside the launcher's workspace**: the launcher writes the provider and its session URL into the session file, and the game POSTs the same authlib body to the provider's `POST /session/join` instead of Mojang's. No authlib-injector, no JVM, no patched jars. - **Textures** are the `textures` property shape `skins.rs` already decodes; what changes is the allowed texture host per provider and the signature rule (Ely.by signs with its own key, and `Cg==` means "do not check"). - **The owner gate is the real question, and it is not mine to answer.** A Yggdrasil account cannot own Java Edition, so the plan recommends treating it as a named offline identity: Play uses it when the player turned on **Play without a Microsoft account**, and never for Mojang downloads or Java instances. The alternative — a provider account passes Play by itself — is a policy change for the maintainer; the note states both and asks on #1270. - Also covered: pinned provider origins (a custom origin receives the player's password), tokens only in the keychain, Horizon-hosted servers gaining a `session_server` so `online_mode` can verify provider players, tests against a fake Yggdrasil server, and M1–M3 milestones. The roadmap item `alt-accounts` keeps its `later` status; only its `dev` text and links change, and `ROADMAP.md`/`roadmap.json` are regenerated with `python3 tools/roadmap.py build`. No behaviour changes: documentation, the docs index link, and the roadmap entry. ## Vanilla reference none — the launcher's sign-in, and the game's existing session and texture code; no vanilla behaviour is in question. ## Self-check **pr_ready** (`tools/pr_ready.py` on fedora, against origin/main at 64990cd32, 1 min 36 s) | Check | Result | | --- | --- | | Scope | ✅ 5 files, +193 −4 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 408 passed (1 min 36 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (no vanilla data here): CI's parity job picks the affected harnesses | | Label | `skip-release` | The PR needs the `skip-release` label; I have no triage rights on this repository, so it has none yet. Refs #1270 (a plan for the claimant and the maintainer, not a claim on the issue). 🤖 Generated with [OpenCode](https://opencode.ai) (DeepSeek V4.1 Flash 1017 via River). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:10:34 +07:00
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#5146
No description provided.