Title: single-user --idp: no way to seed initial password (can't log in) · Issue #323 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub
Open Graph Title: single-user --idp: no way to seed initial password (can't log in) · Issue #323 · JavaScriptSolidServer/JavaScriptSolidServer
X Title: single-user --idp: no way to seed initial password (can't log in) · Issue #323 · JavaScriptSolidServer/JavaScriptSolidServer
Description: Summary jss start --single-user --idp creates a pod and WebID but no corresponding IDP account, leaving the resulting pod unloggable: registration is disabled (correctly), jss passwd
Open Graph Description: Summary jss start --single-user --idp creates a pod and WebID but no corresponding IDP account, leaving the resulting pod unloggable: registration is disabled (correctly), jss passwd
X Description: Summary jss start --single-user --idp creates a pod and WebID but no corresponding IDP account, leaving the resulting pod unloggable: registration is disabled (correctly), jss passwd <user> e...
Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/323
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"single-user --idp: no way to seed initial password (can't log in)","articleBody":"## Summary\n\n`jss start --single-user --idp` creates a pod and WebID but no corresponding IDP account, leaving the resulting pod unloggable: registration is disabled (correctly), `jss passwd \u003cuser>` errors with `User not found`, and the docs don't describe an alternative bootstrap path.\n\n## Repro\n\n```\njss start --port 4443 --root ~/main --single-user --idp --conneg\n```\n\nLogs:\n```\nIdP initialized with issuer: http://localhost:4443/ (single-user mode, registration disabled)\nCreating single-user pod at http://localhost:4443/me/...\nSingle-user pod created at http://localhost:4443/me/\nServer listening at http://0.0.0.0:4443\n```\n\nPod is up, WebID at `/me/profile/card.jsonld` is fully populated. But:\n\n```\n$ jss passwd me -p hunter2 -r ~/main\nError: User not found: me\n```\n\n`POST /.pods` is intentionally disabled in single-user mode (good), and there's no `jss account create` command. Schnorr SSO requires a `did:nostr:\u003cpubkey>` linked on the WebID, which the bootstrapped profile doesn't include. WebID-TLS requires SSL setup. So with the documented flags an OIDC client (e.g. a Solid app using xlogin) has no working path to authenticate.\n\n## Expected\n\n`--single-user --idp` should produce a logged-in-able pod out of the box. Some way for the operator to set or learn the initial credential without external steps.\n\n## Suggested fixes (any one would resolve)\n\n1. **Prompt-on-startup**: if `--single-user --idp` and no IDP account exists for `--single-user-name`, prompt for a password interactively (or accept `--single-user-password \u003cpw>` / `JSS_SINGLE_USER_PASSWORD` env var for non-TTY use).\n2. **`jss passwd --create`**: extend the existing passwd command to seed an account if one doesn't exist.\n3. **One-shot temp password**: print a random password to stderr on first startup when no account exists yet, similar to how some servers print an initial admin token.\n\nOption 1 is probably the most discoverable — matches the mental model of \"single-user pod = my pod, here's its key.\"\n\n## Environment\n\n- jss `0.0.154` (latest published)\n- node `v24.5.0`\n- Linux x86_64\n\nHappy to send a PR for any of these if you have a preferred direction.","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-04-27T05:04:58Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/323"}
| 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:e2c5bd56-5be2-378c-18b0-b2e0d9a73dab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C23C:291B58:81B90F8:A44E1C3:6B03B1A9 |
| html-safe-nonce | e90dc4664ac6388ee46ab9e87b744f188e0b333521d0de691f1175eaef463df2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjNDOjI5MUI1ODo4MUI5MEY4OkE0NEUxQzM6NkIwM0IxQTkiLCJ2aXNpdG9yX2lkIjoiNjEwNjIwOTI4MjAyMDMyMzc1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7a8e7a7916c54e59b09b96d12054fedc18a89a1c9ce8007258c51b2f4d44d24d |
| hovercard-subject-tag | issue:4333221008 |
| 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/JavaScriptSolidServer/323/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b31b70e3eae90ab4ef4890ff3baec8b94a2c6575d158ba5f321f25bb658f24b2/JavaScriptSolidServer/JavaScriptSolidServer/issues/323 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b31b70e3eae90ab4ef4890ff3baec8b94a2c6575d158ba5f321f25bb658f24b2/JavaScriptSolidServer/JavaScriptSolidServer/issues/323 |
| og:image:alt | Summary jss start --single-user --idp creates a pod and WebID but no corresponding IDP account, leaving the resulting pod unloggable: registration is disabled (correctly), jss passwd |
| 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/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 958025407 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 958025407 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| 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