Title: IdP registration flow doesn't pass provisionKeys to createPodStructure · Issue #454 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub
Open Graph Title: IdP registration flow doesn't pass provisionKeys to createPodStructure · Issue #454 · JavaScriptSolidServer/JavaScriptSolidServer
X Title: IdP registration flow doesn't pass provisionKeys to createPodStructure · Issue #454 · JavaScriptSolidServer/JavaScriptSolidServer
Description: Bug When a user registers through the browser IdP flow (POST /idp/interaction/:uid with registration), createPodStructure is called without the provisionKeys option: // interactions.js:535 await createPodStructure(username, webId, podUri...
Open Graph Description: Bug When a user registers through the browser IdP flow (POST /idp/interaction/:uid with registration), createPodStructure is called without the provisionKeys option: // interactions.js:535 await cr...
X Description: Bug When a user registers through the browser IdP flow (POST /idp/interaction/:uid with registration), createPodStructure is called without the provisionKeys option: // interactions.js:535 await cr...
Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/454
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IdP registration flow doesn't pass provisionKeys to createPodStructure","articleBody":"## Bug\n\nWhen a user registers through the browser IdP flow (`POST /idp/interaction/:uid` with registration), `createPodStructure` is called without the `provisionKeys` option:\n\n```js\n// interactions.js:535\nawait createPodStructure(username, webId, podUri, issuer);\n```\n\nThis means pods created via browser registration never get owner keys provisioned, even when `--provision-keys` / `\"provisionKeys\": true` is set in the server config.\n\nThe `handleCreatePod` endpoint (POST /.pods) and single-user seed path both correctly pass `{ provisionKeys: provisionKeysEnabled }`, but the IdP registration path was missed.\n\n## Root cause\n\n`provisionKeysEnabled` is not attached to the Fastify request object in the `onRequest` hook (server.js), so `interactions.js` has no way to access the config value.\n\n## Fix\n\n1. Add `request.provisionKeys = provisionKeysEnabled` to the request decoration block in `server.js`\n2. Pass `{ provisionKeys: request.provisionKeys }` as the options argument in `interactions.js:535`\n\n## Related\n\n- #437 (Phase 1: --provision-keys)\n- #443 (Phase 2: wire key into profile)\n- PR #442, PR #444 (both merged but missed this call site)","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-05-14T20:56:54Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/454"}
| 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:20058c75-ab2c-b78d-2bf4-7518bf13bae1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9ACC:DD8B9:F0A6BF:12FCAC9:6B039156 |
| html-safe-nonce | 314ccfecd4ed692f3f2779d4e919b53a13e6959edb585f1d5642f747ac1ba6e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUNDOkREOEI5OkYwQTZCRjoxMkZDQUM5OjZCMDM5MTU2IiwidmlzaXRvcl9pZCI6IjE4OTQ1NDI5MDU3Njk3MDA3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ead01ee04b8593454a7778f168ccf5774ec56fd79e135aa4d62b6c5eadd65fe2 |
| hovercard-subject-tag | issue:4449227262 |
| 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/454/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f7dcf66a2d4a5b29dfadd45c78958b4ad87ea53c6120d3db968ca04522e02ca/JavaScriptSolidServer/JavaScriptSolidServer/issues/454 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f7dcf66a2d4a5b29dfadd45c78958b4ad87ea53c6120d3db968ca04522e02ca/JavaScriptSolidServer/JavaScriptSolidServer/issues/454 |
| og:image:alt | Bug When a user registers through the browser IdP flow (POST /idp/interaction/:uid with registration), createPodStructure is called without the provisionKeys option: // interactions.js:535 await cr... |
| 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