Title: Phase 2: enable IDP, seed me/me, localhost-only by default by melvincarvalho · Pull Request #7 · JavaScriptSolidServer/jspod · GitHub
Open Graph Title: Phase 2: enable IDP, seed me/me, localhost-only by default by melvincarvalho · Pull Request #7 · JavaScriptSolidServer/jspod
X Title: Phase 2: enable IDP, seed me/me, localhost-only by default by melvincarvalho · Pull Request #7 · JavaScriptSolidServer/jspod
Description: Summary Phase 2 of #1, executed through the lens of #3 (single-user positioning) and #6 (auth ladder). The welcome page that previously had only a stale docs-link CTA now reveals a real Sign in button, and a fresh npx jspod lands the user inside the IDP flow within seconds. Root cause of the previous "Welcome → docs link" page JSS's server-root template at / is already HEAD-adaptive: it probes ./idp/register and reveals Sign up / Sign in buttons based on the response (200 → both, 403 → Sign in only, 404 / error → neither). With the IDP disabled in jspod's previous default spawn, neither button rendered and the only visible CTA was the external jss.live/docs/getting-started/first-run link. What changes --host 127.0.0.1 is the new default (was 0.0.0.0). Personal pods almost always want localhost-only, and this is what makes seeding rung-1 credentials safe. Default spawn now enables single-user + IDP: --no-multiuser --single-user --idp --single-user-password me. Username is me / password is me. JSS hardcodes the username for root pods (server.js:970: username: isRootPod ? 'me' : singleUserName); jspod seeds the password to match. Symmetric, memorable, obviously a placeholder. Banner adds a "Sign In (rung 1 of the auth ladder)" section showing credentials and the climb hint. Loud warning if the user passes --host 0.0.0.0 (or any non-loopback host) — the well-known credentials are then reachable beyond localhost and need to be changed. --no-auth still produces a no-auth server with no sign-in block and no IDP. --multiuser still works: the IDP is enabled (so users can register) but no single-user seeding happens. README First Run Guide rewritten around the auth-ladder framing (rungs 0-4 table, climb instructions, JSS_SINGLE_USER_PASSWORD escape hatch). Bump jspod to 0.0.10. Acceptance criteria (from #1 phase 2, adapted via #6) Fresh npx jspod + browser visit to localhost:5444 shows a working welcome page with Sign in revealed (HEAD probe returns 403 → "Sign in" branch) npx jspod --no-auth produces a no-auth server (current bare behaviour) --host 0.0.0.0 still works, but prints a clear LAN-exposure warning Single-user is the default per #3 positioning; multi-user still available via --multiuser Test plan Default spawn: banner shows Sign In rung 1, HEAD /idp/register returns 403, GET /idp returns 200 with Solid-app-friendly copy --host 0.0.0.0: loud red warning about exposed credentials --no-auth: no Sign In block, WebID Auth ✗ in features, no warning Auto-open from Phase 3 still works (didn't touch that code) Manual TTY check by reviewer: run npx jspod from a real terminal, click Sign in on the welcome page, point a Solid app (e.g. Pilot at https://solid-apps.github.io/pilot/) at the server, sign in with me / me, confirm pod access. What this doesn't do (deferred to follow-up PRs) Climb-the-ladder UI nudge (rung-1 pill or post-sign-in "add a passkey" CTA in mashlib) — requires either a JSS PR or a jspod-injected script. Substantial change, separate PR. Phase 4 seed content (/profile, /public/welcome, /inbox) — still a gap; targeted next. Phase 5 visual assets (README GIF + screenshot) — easier to record now that the flow actually works end-to-end. Cross-references Friction-removal umbrella: #1 Single-user positioning: #3 Auth-ladder positioning: #6
Open Graph Description: Summary Phase 2 of #1, executed through the lens of #3 (single-user positioning) and #6 (auth ladder). The welcome page that previously had only a stale docs-link CTA now reveals a real Sign in but...
X Description: Summary Phase 2 of #1, executed through the lens of #3 (single-user positioning) and #6 (auth ladder). The welcome page that previously had only a stale docs-link CTA now reveals a real Sign in but...
Opengraph URL: https://github.com/JavaScriptSolidServer/jspod/pull/7
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:75959453-9e23-55e6-36b3-b329eff74d5a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D15C:3280A:2FF2237:3F0D68F:6B039F89 |
| html-safe-nonce | 924b2f76281716d5fd4405ca317d8aafa59da2d9e89145ca09e0daa52223e3d7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTVDOjMyODBBOjJGRjIyMzc6M0YwRDY4Rjo2QjAzOUY4OSIsInZpc2l0b3JfaWQiOiIyOTg0NTc5NDgwMjI5NzQ4NjE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cd6ea1bb6e1939202a4b96a5f31b9cd47a21dd757053e1d7f4658cf3adc1ce0b |
| hovercard-subject-tag | pull_request:3691041593 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/JavaScriptSolidServer/jspod/pull/7/files |
| twitter:image | https://avatars.githubusercontent.com/u/65864?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/65864?s=400&v=4 |
| og:image:alt | Summary Phase 2 of #1, executed through the lens of #3 (single-user positioning) and #6 (auth ladder). The welcome page that previously had only a stale docs-link CTA now reveals a real Sign in but... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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 |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width