Skip to content

Require Company login before server selection and remove the window menu - #3

Merged
oceaster merged 1 commit into
mainfrom
feat/company-first-login
Oct 29, 2026
Merged

oceaster merged 1 commit into
mainfrom
feat/company-first-login

Conversation

@oceaster

Copy link
Copy Markdown
Member

Require global Easter Company sign-in before selecting, reopening or deep-linking to an e-server. Reuse the launcher's shared sign-in controls and account contract, supporting direct username/email/password and Microsoft/Google/Steam/Discord; new accounts finish username/password setup before unlocking the client.

Global credentials stay in the main process and OS-keyring vault, with memory-only fallback. Saved sessions are verified on startup; expiry returns to sign-in. Server connections and retries enforce the main-process gate, remote frames cannot call account IPC, and browser partitions are separated by global account as well as server origin. The global session token is never forwarded to a selected server; server PIN/access checks remain independent.

Remove the native File/Edit/View bar. Keep app controls in the tray and Ctrl+, for server selection. The default host already supports HTTPS: upgrade only its legacy HTTP/port-80 spelling to HTTPS, continuing to reject other non-test HTTP origins. The companion backend PR fixes the splash that advertised HTTP behind nginx.

Prepare version 1.0.1 for the next reviewed release. Most added lines are unchanged, provenance-pinned launcher modules; Microsoft stops at Company identity with no Minecraft authentication/entitlement/game calls or Microsoft refresh-token handover.

Validation: 16 unit tests passed (global gating, restore/revocation/expiry, keyring fallback, account setup, cancellation, secret projection, Microsoft isolation, origin/IPC and updater checks). Actual Electron keyless integration passed global login-before-server, IPC refusal before login, absence of the native menu, server PIN/Microsoft handoff and renderer isolation. Packaged first-screen checks now require sign-in controls and a hidden server-selection form; Windows/Linux build checks run on this PR. Real provider-account logins and fresh-OS installation remain manual checks.

Leave unmerged and unreleased for Owen/Delta. No deployment or tag is created by this work. See docs/COMPANY_LOGIN.md. The earlier Downloads-path fixes remain separate follow-up PRs.

@oceaster
oceaster merged commit c4b64b8 into main Oct 29, 2026
6 checks passed
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