Title: Positioning: jspod is an authentication ladder — lowest safe default, visible climb · Issue #6 · JavaScriptSolidServer/jspod · GitHub
Open Graph Title: Positioning: jspod is an authentication ladder — lowest safe default, visible climb · Issue #6 · JavaScriptSolidServer/jspod
X Title: Positioning: jspod is an authentication ladder — lowest safe default, visible climb · Issue #6 · JavaScriptSolidServer/jspod
Description: Positioning — jspod is an authentication ladder Context While planning Phase 2 of #1 (turn on the IDP / give the welcome page real CTAs), a deeper framing emerged for how jspod should think about auth: not as a binary "on or off," but as...
Open Graph Description: Positioning — jspod is an authentication ladder Context While planning Phase 2 of #1 (turn on the IDP / give the welcome page real CTAs), a deeper framing emerged for how jspod should think about a...
X Description: Positioning — jspod is an authentication ladder Context While planning Phase 2 of #1 (turn on the IDP / give the welcome page real CTAs), a deeper framing emerged for how jspod should think about a...
Opengraph URL: https://github.com/JavaScriptSolidServer/jspod/issues/6
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Positioning: jspod is an authentication ladder — lowest safe default, visible climb","articleBody":"# Positioning — jspod is an authentication ladder\n\n## Context\n\nWhile planning Phase 2 of #1 (turn on the IDP / give the welcome page real CTAs), a deeper framing emerged for how jspod should think about auth: not as a binary \\\"on or off,\\\" but as a **ladder** — a sequence of progressively stronger auth states, with jspod's job being to place new users on the lowest viable rung within seconds and make climbing higher visible and easy.\n\nThis is a sibling to #3 (\\\"jspod is the single-user personal-pod layer\\\"). Together they form the core product stance.\n\n## The ladder\n\n```\nRung 4 — Hardware key / multi-factor (power users, threat-aware)\n ↑\nRung 3 — Passkey added (\\\"you have arrived\\\")\n ↑\nRung 2 — User-chosen password (account settings)\n ↑\nRung 1 — Random password, printed once (jspod's first-run default)\n ↑\nRung 0 — No auth (--no-auth) (demos / dev only)\n```\n\nEach rung is:\n- Safe on its own for the user's current threat model\n- A stepping stone — the next rung is always reachable from where you are\n- Visible — the UI tells the user where they are and what's one step up\n\n## Product principle\n\n**Default to the lowest rung that's safe for the current context, and make climbing visible.**\n\nTwo halves matter equally:\n\n- **Lowest safe default**: a new user typing `npx jspod` should not face a password-creation flow, an SSH-key prompt, or a YubiKey setup before they see their pod. They should hit rung 1 (random password seeded automatically, displayed once in the terminal) and be inside their pod within ~60 seconds.\n- **Visible climb**: from the moment they're signed in, the UI should make the next rung obvious — *\\\"You're using a random password. Add a passkey to make this pod yours →\\\"* — with the action one click away.\n\nThis is how mature consumer software ladders: Gmail starts you with a password, nudges you to 2FA, then to a security key, then to passkeys. jspod does the same arc, compressed to a single self-hosted pod's lifetime.\n\n## What this changes in jspod\n\nFor #1 Phase 2 and beyond:\n\n- [ ] **Default behaviour**: `npx jspod` → IDP enabled, single-user mode, **random password seeded** via `--single-user-password $(generate)`, printed once to the terminal banner\n- [ ] **Terminal output**: when a random password is seeded, the startup banner shows it clearly:\n - *\\\"Your initial sign-in password: `Abc-XYZ-123`\\\"*\n - *\\\"(Change it or switch to a passkey from your pod's account settings)\\\"*\n- [ ] **Welcome page**: when signed in with a random password, surface a banner / pill: *\\\"Rung 1 of 4 — add a passkey →\\\"*\n- [ ] **Demo mode**: `--demo` (or similar) opts down to **rung 0** (no auth) for talks, screencasts, kiosk use\n- [ ] **`--single-user-password \u003cpw>`** stays available for users who want to set their own initial password (rung 2 at startup)\n- [ ] **`--no-auth`** remains for explicit rung 0 — no implicit fallback\n\nFuture / aspirational:\n\n- [ ] **Rung-2 nudge** after first successful sign-in: \\\"Change your password\\\" or \\\"Pick a memorable password\\\"\n- [ ] **Rung-3 nudge** prominent in account settings: \\\"Add a passkey\\\"\n- [ ] **Rung-4 nudge** in account settings under \\\"Security\\\": \\\"Add a hardware key\\\"\n- [ ] **Recovery story**: the climb needs a downstairs too — what happens if someone loses their passkey? Out of scope here, but track in a follow-up.\n\n## Why this is the right framing for jspod\n\n- **Aligns with the 60-second goal in #1**: rung 1 is reachable instantly; we don't make users pick an auth method before they've seen the product\n- **Aligns with #3 (single-user positioning)**: each rung is one person's choice, not a tenancy/admin concern\n- **Honest about security**: rung 1 is not pretending to be strong auth — it's labelled as the first rung, with the next rung visible. Compare to apps that ship default passwords pretending to be production-ready\n- **Marketing-friendly without lying**: \\\"Solid pod in 60 seconds, then make it yours\\\" is a true statement, not a promise of fortress-grade security on rung 1\n- **Differentiates jspod from JSS**: JSS is the substrate that can run at any rung; jspod is the *opinionated ladder*\n\n## Tradeoffs\n\n- **More work than just `--idp`**: a random-password generator + clear terminal output + an in-app climb prompt is more than flipping one flag. But it's a strictly better experience than \\\"--idp on\\\" with a single-user mode that immediately 403s on the register endpoint.\n- **Random-password output couples the terminal and the browser**: the user must look at the terminal once. We accept this; it's the only safe way to seed rung 1 without a known-password footgun.\n- **Adds a \\\"rung\\\" concept users have to learn**: minor; the word \\\"rung\\\" doesn't have to appear in the UI. The mental model is just \\\"current auth → next step.\\\" Plain English everywhere.\n\n## Non-goals\n\n- Inventing auth methods JSS doesn't support\n- Building a recovery/downgrade flow now (separate ticket)\n- Forcing climbs (every rung is a stable destination if the user wants to stop there)\n- Hiding the ladder from users who want full control (every rung is also reachable via CLI flag for advanced users)\n\n## Acceptance\n\nWhen this issue is resolved:\n\n- A new user running `npx jspod` is signed in within ~60 seconds without picking an auth method\n- The terminal makes the initial credential obvious and ephemeral-feeling\n- The signed-in UI shows the next rung as a clear, single-click action\n- The README's auth section reads as a ladder, not a list of options\n- `--no-auth`, `--single-user-password \u003cpw>`, and the future `--demo` are all positioned as **choose-your-starting-rung** overrides\n\n## References\n\n- Friction-removal umbrella: #1\n- Single-user positioning: #3\n- JSS IDP source: `node_modules/javascript-solid-server/src/idp/index.js` (single-user mode 403s on `/idp/register`; password seeding via `--single-user-password`)\n- Adaptive welcome page: `node_modules/javascript-solid-server/src/ui/server-root.html` (HEAD probe at `./idp/register` reveals Sign in / Sign up buttons based on response)","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-05-15T16:42:52Z","url":"https://github.com/JavaScriptSolidServer/jspod/issues/6"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a7b9f607-c7da-dc76-1368-0fd158d1154e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8DAC:137FF:13654AD:188B2FD:6B03966E |
| html-safe-nonce | ac27b67abf7df855204e898548e9cbaca4e8b11f2d9818274e2fb32557d8122b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REFDOjEzN0ZGOjEzNjU0QUQ6MTg4QjJGRDo2QjAzOTY2RSIsInZpc2l0b3JfaWQiOiIxMDI3NDY1NDk0NTA2MjE1MDIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cf75525fc6377954564baef7c9fabeddfbd304d13c73ef47890045a50d53841e |
| hovercard-subject-tag | issue:4455500416 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/jspod/6/issue_layout |
| twitter:image | https://opengraph.githubassets.com/550eb667ae3e22bee2dcada6e1c3bbcea162812ebad3ff1aed56b7dc1a23212f/JavaScriptSolidServer/jspod/issues/6 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/550eb667ae3e22bee2dcada6e1c3bbcea162812ebad3ff1aed56b7dc1a23212f/JavaScriptSolidServer/jspod/issues/6 |
| og:image:alt | Positioning — jspod is an authentication ladder Context While planning Phase 2 of #1 (turn on the IDP / give the welcome page real CTAs), a deeper framing emerged for how jspod should think about a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | melvincarvalho |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaScriptSolidServer/jspod git https://github.com/JavaScriptSolidServer/jspod.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 1135610078 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/jspod |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1135610078 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/jspod |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width