Repository navigation
docs(j5): sign-in through J5 Connect - #1262
Jacksondr5 wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 54 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
People and access gains accounts, sign-in and offboarding (AC52–AC61), D33 says how sign-in rides on J5's links, People and sharing says how to sign in and what happens when someone leaves, and a new J5 Connect guide says how to run one and join a server to it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The internal-deployment Caddyfile starts from the bundled one and keeps its reverse_proxy line. - Join repeats every --address given to redirect-uris. - The lapse timing matches the code: checked when J5 Connect answers or after 24 tries in a row with none; restarts count, sleep doesn't. - The Dex settings the image enforces are named. - An account is J5 Connect's issuer and the id it gives the person. - The operator material moves to docs/j5/runbooks/j5-connect.md; joining from Settings stays in People and sharing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4976f23 to
5bfb979
Compare
| 3. On J5 Connect, add the server to `J5_CONNECT_CLIENTS` with that id, secret and redirect URIs, | ||
| and start it with `docker compose up -d --build`. After a later change to the clients, run | ||
| `docker compose up -d connect`. |
There was a problem hiding this comment.
Does this mean we can't add new J5 servers while Connect is live? Every add requires a restart?
There was a problem hiding this comment.
As built, yes. Each new J5 server is a static Dex client in J5_CONNECT_CLIENTS, and changing that means docker compose up -d connect, which restarts the J5 Connect container. It's short, and it isn't an outage for anyone already signed in:
- Existing sessions on every J5 server keep working, because they're the servers' own.
- A sign-in during those few seconds fails, and the person tries again.
- An hourly confirmation pass that lands in the restart counts as one unanswered pass, which changes nothing.
It's still clunky, and we can remove it. Dex has a gRPC admin API (CreateClient, UpdateClient, DeleteClient). Clients created that way live in Dex's Postgres and take effect with no restart. The fix:
- Turn the API on, bound to 127.0.0.1 inside the container and never published.
- Add a small command to the image,
docker compose exec connect j5-connect clients add|update|remove. - Keep
J5_CONNECT_CLIENTSonly as a first-start seed.
That's about half a day, in infra/j5-connect only, with no upstream files. Dex has no self-service client registration, so registering a new server still takes one command on the J5 Connect host, just not a restart.
I'm doing that now as its own PR. This runbook section will describe the no-restart flow, and this PR waits for it.
| does not share, leave or rename. People come in with a link, or by | ||
| [signing in](#signing-in-through-j5-connect). Each person has a name, a level at the server, a project or a |
There was a problem hiding this comment.
We should consider retiring the link option once J5 Connect works. IDK if I want to do that for sure, but it should be considered
There was a problem hiding this comment.
Noted, and filed as #1263, with no change in this PR. The issue lists what depends on person links today:
- servers not on any J5 Connect;
- the first owner's startup and desktop pairing;
- recovery when J5 Connect is down or has been left;
- people outside the company's J5 Connect;
- links for many at Viewer;
- the CLI's
j5 pair; - mobile, until mobile sign-in ships.
Guest links, peer links and MCP clients use their own credentials, so retiring person links wouldn't touch them. The issue keeps that line clear. It sets out three options, from "keep both" to "retire entirely", without picking one.
…start Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ecovered from list Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Superseded by #1268: fresh J5 Connect docs written from the 2026-11-28 decisions. Those are: multiplayer needs J5 Connect, bearer links for people are retired, and managed policy picks the J5 Connect. Jackson's two threads here were answered, and both are carried into #1268. The runbook there covers adding servers without a restart, and the link question is #1263. Closing. |
Problem
Sign-in through J5 Connect (#1257, #1258) has no product definition, no user guide, and no guide for whoever runs the J5 Connect. The People and access definition still says J5 has no authoritative identity. Part of #632. Stacked on #1258, whose screens the user guide describes.
What changed
People and access (
docs/j5/product/features/people-and-access.md):Register (
docs/j5/product/upstream.md): D33 gains a bullet for sign-in, its FORK cases (73, 79 and 123), a Decided line and a history line.User guide (
docs/j5/user/people-and-sharing.md): a new "Signing in through J5 Connect" section covers:Runbook (
docs/j5/runbooks/j5-connect.md, new,kind: runbook), for operators:j5-connect clients(feat(infra): manage J5 Connect clients without restarting #1264), with no restart;It's listed under runbooks in
docs/j5/README.md, andinfra/j5-connect/README.mdpoints to it.Not in this PR:
Checklist
Built by Claude Opus 5.5 in Claude Code (J5 Code).
🤖 Generated with Claude Code