Skip to content

feat: launch-token boot (Discord-login launcher)#3

Merged
Shuu-37 merged 2 commits into
mainfrom
fix/json-password-copypaste
Jun 28, 2026
Merged

feat: launch-token boot (Discord-login launcher)#3
Shuu-37 merged 2 commits into
mainfrom
fix/json-password-copypaste

Conversation

@Shuu-37

@Shuu-37 Shuu-37 commented Jun 28, 2026

Copy link
Copy Markdown

Brings the single-use login_token boot path into the fork's main.

Parse an optional login_token from the --json launch config and send it in the 0x10 login JSON. When present it stands in for password + OTP (password may be empty), and a username + token (no password) enables autologin. Handle the new LOGIN_ERROR_LAUNCH_TOKEN_INVALID (0x14) result with a "session expired — log in again from the launcher" message.

Backward compatible: login_token is optional; the existing password / trust-token path is unchanged. No protocol version bump.

Net change vs main is just the 3 login-token files (src/{command_handler.h,main.cpp,network.cpp}) — the trust-token JSON work is already on main via #1.

Pairs with:

Shuu-37 and others added 2 commits June 28, 2026 10:31
Parse an optional login_token from the --json config and send it in the 0x10
login JSON. When present it stands in for password + OTP (password may be empty),
and a username+token (no password) now enables autologin. Handle the new
LOGIN_ERROR_LAUNCH_TOKEN_INVALID (0x14) result with a 'session expired, log in
again' message.

Backward compatible: login_token is optional; the existing password/trust-token
path is unchanged.
feat: optional login_token boot (token-based launcher login)
@Shuu-37 Shuu-37 merged commit 433ef4a into main Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant