Skip to content

Add native Modex sign-in with GitHub through WorkOS - #141

Merged
BunsDev merged 2 commits into
mainfrom
workos-oauth
Oct 8, 2026
Merged

BunsDev merged 2 commits into
mainfrom
workos-oauth

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Settings → General can sign in to a separate Modex account through the existing GitHub OAuth App and WorkOS hosted AuthKit. Native PKCE, a validated loopback callback, OS-encrypted renewable storage, cancellation and logout stay in the main process; coding CLI accounts remain independent. Hosted AuthKit completes required email verification before returning to the public native client.

Based on main after #144 delivered the combined desktop changes. Signed head 9b2bcb6 preserves the verified authentication and Page focus code; only already-tested native test/fixture changes were added by the main rebase.

Validation: combined replacement release build/typecheck and 419 unit tests passed; signed/notarized packaged acceptance passed 152 desktop and 7 site tests. Independent auth and shutdown-integration reviews are clear. Fresh complete live production authentication passed on the replacement signed app: GitHub sign-in, restart persistence, same-identity renewal 1,507 ms after actual token expiry, repeat sign-in, cancellation preserving the session, unchanged coding CLI account state, and local logout. WorkOS confirmed the exact remote session was revoked at 2026-10-08 18:31:08 UTC.

Fresh hosted checks for this rebased head remain required before merge. Release publication remains held for the final hosted checks, protected merges and downloaded-artifact verification.

@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 8, 2026 7:07pm UTC

Request Review

@BunsDev
BunsDev changed the base branch from reference-shell to main October 8, 2026 15:00
@BunsDev BunsDev self-assigned this Oct 8, 2026
@BunsDev
BunsDev changed the base branch from main to completion-e2e October 8, 2026 16:54
@BunsDev
BunsDev marked this pull request as ready for review October 8, 2026 17:10
@BunsDev
BunsDev changed the base branch from completion-e2e to main October 8, 2026 19:07
@BunsDev
BunsDev merged commit d2d6671 into main Oct 8, 2026
3 checks passed
@BunsDev
BunsDev deleted the workos-oauth branch October 9, 2026 12:23
BunsDev added a commit that referenced this pull request Oct 18, 2026
…tore grant (steward cycle 2) (#300)

* Settle three claims cycle 1 left unverified

Docs and plans steward, cycle 2 (#290).

- modex-signin: 43821 is only the default callback registered with WorkOS. The
  listener has used a system-assigned port since #141 (workos-auth.ts,
  listen(0)), and the wildcard entry covers it. The doc now says so.
- auto-routing: unknown models fall back to tier 2 of 0-3 (catalog.ts tierOf),
  which "the middle tier" did not pin down.
- update-recovery: the test counts are from the 2026-10-12 local acceptance run
  the paragraph links, so it now gives that date.

Checked and left as they are: the analytics demo figures (471 calls, 147
sessions, 45 days, 11 sources, 212 unpriced) match sample.ts when run, and Codex
threads do keep their Pages tools until the app-server restarts, because the
config is sent only when a thread is first loaded.

Coven-Harness: Claude Code / claude-opus-5-5

* Point In flight at the tracker instead of listing CF PRs

Val decided on #290. The In flight entry for native conversation fidelity
listed open PRs by number, and the list went stale within hours. It already
named #291 (merged into #286) and missed #295, #297, #298 and #299. The entry
now says the tracker's child issues link their open PRs, which GitHub keeps
current.

Coven-Harness: Claude Code / claude-opus-5-5

* Record the GUI Connect grant as Val's manual testing

Val answered on #290. In the October 11 signed Store acceptance, a GUI Connect
run acquired a grant before the Host dialog was captured, and three reviews left
its attribution awaiting Val. Val confirmed the grant came from Val's own manual
testing.

- The signed-acceptance review gains a dated "Attribution resolved" section.
- The Store and Companion readiness reviews each gain a one-line dated note
  pointing to it. Their original text is unchanged.
- status.md's Store Open list drops the attribution item.

The Cancel check stays open: no Cancel success was recorded.

Coven-Harness: Claude Code / claude-opus-5-5

This branch was successfully deployed

1 active deployment
Preview — 9b2bcb61 Deployed Oct 8, 2026 by vercel[bot]
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