Title: 0.0.6 — authenticated session (NIP-98 → DPoP exchange) · Issue #5 · JavaScriptSolidServer/sso · GitHub
Open Graph Title: 0.0.6 — authenticated session (NIP-98 → DPoP exchange) · Issue #5 · JavaScriptSolidServer/sso
X Title: 0.0.6 — authenticated session (NIP-98 → DPoP exchange) · Issue #5 · JavaScriptSolidServer/sso
Description: 0.0.1 lands the user at the pod root but they're not signed in — they can browse public content, but anything WAC-protected would prompt for a separate OIDC flow in whatever app uses it. The "magic SSO landing" is real; the "authenticate...
Open Graph Description: 0.0.1 lands the user at the pod root but they're not signed in — they can browse public content, but anything WAC-protected would prompt for a separate OIDC flow in whatever app uses it. The "magic...
X Description: 0.0.1 lands the user at the pod root but they're not signed in — they can browse public content, but anything WAC-protected would prompt for a separate OIDC flow in whatever app uses it. The &q...
Opengraph URL: https://github.com/JavaScriptSolidServer/sso/issues/5
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"0.0.6 — authenticated session (NIP-98 → DPoP exchange)","articleBody":"0.0.1 lands the user at the pod root but they're *not signed in* — they can browse public content, but anything WAC-protected would prompt for a separate OIDC flow in whatever app uses it. The \"magic SSO landing\" is real; the \"authenticated session\" is missing.\n\n## Goal\n\nAfter resolving the WebID, do a NIP-98 → DPoP exchange with the user's IdP so that the cookie / token state at the pod is already set up by the time the redirect lands.\n\n## Sketch\n\n1. (existing) get pubkey + resolve WebID\n2. Sign a NIP-98 event against the IdP's `/idp/sso-token` endpoint (or similar — a new endpoint to be added to JSS)\n3. IdP verifies the NIP-98 signature against the user's profile VM, issues a DPoP-bound token\n4. SSO page stores the token / cookie / handoff state appropriately\n5. Redirect to the pod\n\nThe \"new endpoint on JSS\" piece is the bigger lift — it's a server-side companion to this client-side feature.\n\n## Acceptance\n\n- [ ] User lands at the pod with a valid Solid-OIDC session\n- [ ] WAC-protected resources accessible immediately, no further sign-in prompt\n- [ ] Session refresh / expiry handled (or at least documented as a known follow-up)\n\n## Out of scope\n\n- DPoP token rotation (long-running session) — separate concern\n- Cross-pod sessions — separate concern\n\n## Refs\n\n- 0.0.1 — current \"navigation only, no session\" PoC\n- [LWS 1.0](https://www.w3.org/TR/cid-1.0/) — defines NIP-98-style auth for Solid","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-05-12T06:06:52Z","url":"https://github.com/JavaScriptSolidServer/sso/issues/5"}
| 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:225af692-58ca-84c3-6c91-284cb6cbaee8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 967A:3280A:2E72B29:3D0D7B2:6B039784 |
| html-safe-nonce | 8b55fd68188bfcd604b0899183af1be8a6fee964390651eeb6a645cb95af2dae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjdBOjMyODBBOjJFNzJCMjk6M0QwRDdCMjo2QjAzOTc4NCIsInZpc2l0b3JfaWQiOiI4MjU1NDEzNzIxNTUyMzYxMzQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 72cf61ac40e59f88868f96120edcab85fc87908ca2217d147c96d7bfa8efe884 |
| hovercard-subject-tag | issue:4426627579 |
| 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/sso/5/issue_layout |
| twitter:image | https://opengraph.githubassets.com/27e103e4b9b6bd09164a7a15bc8acbeac61ba8889cee96123b6400257a0c25d1/JavaScriptSolidServer/sso/issues/5 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/27e103e4b9b6bd09164a7a15bc8acbeac61ba8889cee96123b6400257a0c25d1/JavaScriptSolidServer/sso/issues/5 |
| og:image:alt | 0.0.1 lands the user at the pod root but they're not signed in — they can browse public content, but anything WAC-protected would prompt for a separate OIDC flow in whatever app uses it. The "magic... |
| 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/sso git https://github.com/JavaScriptSolidServer/sso.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 1236281583 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/sso |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1236281583 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/sso |
| 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