René's URL Explorer Experiment


Title: Cross-origin SSO→pod handoff (phased plan): ?webid= now, NIP-98 fragment later · Issue #8 · JavaScriptSolidServer/sso · GitHub

Open Graph Title: Cross-origin SSO→pod handoff (phased plan): ?webid= now, NIP-98 fragment later · Issue #8 · JavaScriptSolidServer/sso

X Title: Cross-origin SSO→pod handoff (phased plan): ?webid= now, NIP-98 fragment later · Issue #8 · JavaScriptSolidServer/sso

Description: Tracking issue for the phased rollout of "SSO redirects the user to their pod AND the pod knows who just arrived." Replaces the prior 0.0.2 OIDC approach (which couldn't bridge cross-origin into the pod's own auth widget) with a much sma...

Open Graph Description: Tracking issue for the phased rollout of "SSO redirects the user to their pod AND the pod knows who just arrived." Replaces the prior 0.0.2 OIDC approach (which couldn't bridge cross-origin into th...

X Description: Tracking issue for the phased rollout of "SSO redirects the user to their pod AND the pod knows who just arrived." Replaces the prior 0.0.2 OIDC approach (which couldn't bridge cross-...

Opengraph URL: https://github.com/JavaScriptSolidServer/sso/issues/8

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cross-origin SSO→pod handoff (phased plan): ?webid= now, NIP-98 fragment later","articleBody":"Tracking issue for the phased rollout of \"SSO redirects the user to their pod AND the pod knows who just arrived.\" Replaces the prior 0.0.2 OIDC approach (which couldn't bridge cross-origin into the pod's own auth widget) with a much smaller protocol: the SSO appends an identifier to the redirect URL, and xlogin on the pod reads it.\n\nSister to #6 (authenticated session) — that issue is about the authentication semantics; this one is about the **mechanism** by which credentials cross the origin boundary.\n\n## Phases\n\nEach phase is one observable step. We confirm phase N works before starting phase N+1.\n\n### Phase 1 — SSO appends `?webid=` ✅\n\nSSO redirects to:\n```\nhttps://\u003cpod>/?webid=did:nostr:\u003c64-hex-pubkey>\n```\n\n- ✅ [sso@cb0c996](https://github.com/JavaScriptSolidServer/sso/commit/cb0c996) — `login.js` builds the redirect via `URL.searchParams.set('webid', ...)`. Merges with `?next=` cleanly.\n- ✅ Verified live: `jss.live/sso/` → `test.solid.social/?webid=did:nostr:de7ecf…ebfe`.\n\n### Phase 2a — xlogin reads `?webid=` and displays it 🟡\n\nWhen the pod's xlogin widget loads on a URL with `?webid=`, render a small caption above the Login button: `Sign in as: \u003cvalue>`. Purely informational, no behavior change.\n\n- 🟡 [melvincarvalho/xlogin#16](https://github.com/melvincarvalho/xlogin/pull/16) — open\n- Confirms the query-param handoff is visible end-to-end before we wire any logic to it.\n\n### Phase 2b — xlogin auto-triggers Use Browser Extension\n\nWhen `?webid=` is present and the value is `did:nostr:\u003cpk>`, xlogin auto-runs the Nostr browser-extension login (`window.nostr.getPublicKey` + signed challenge against the pod's WebID lookup). User sees: one signer-extension popup (or auto-approved if pre-trusted), then they're authenticated. No \"Login\" click needed.\n\nOpen question: behavior when the signer returns a different pubkey than the `?webid=` hint (extension switched accounts since SSO). Probably ignore the hint and proceed with what the signer actually returns.\n\n### Phase 2c — xlogin scrubs `?webid=` after consumption\n\n`history.replaceState(null, '', location.pathname)` once the hint has been read. Keeps the URL clean for refresh/bookmark/share.\n\n### Phase 3 — replace `?webid=` with NIP-98 signed event in URL fragment\n\nThe query-param form is unsigned — a hostile redirect could put any pubkey in there. Phase 3 upgrades the protocol:\n\n- SSO has the signer sign a NIP-98 event (kind 27235) bound to the pod URL\n- Redirect uses URL fragment: `https://\u003cpod>/#nip98=\u003cbase64url-event>`\n- xlogin verifies the Schnorr signature, the `u` tag, and `created_at` window\n- Pod's local `.well-known/did/nostr/\u003cpubkey>.json` resolves pubkey → WebID\n- Session established as that WebID\n\nFragment-only (not query) so the credential never appears in server logs or Referer. See earlier discussion in #1 for the design walkthrough.\n\n## Out of scope here\n\n- Replay protection (skipped for PoC — phase 3 will revisit if needed)\n- Multi-identity handling (covered separately by #7)\n- Cross-IdP resolution (handled by 0.0.3 / 0.0.4 / JSS#414)\n\n## Why phases over one big change\n\nThe SSO's job (resolve + redirect) works today (#1). The pod's auth (xlogin's Login button) works today. The phased plan keeps both working while the cross-origin bridge is built one observable step at a time. Each phase is independently rollable.\n\n## Refs\n\n- sso#1 — 0.0.1 PoC (shipped)\n- sso#6 — authenticated-session milestone\n- sso#7 — multi-user\n- [melvincarvalho/xlogin#16](https://github.com/melvincarvalho/xlogin/pull/16) — phase 2a PR","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-05-12T06:46:57Z","url":"https://github.com/JavaScriptSolidServer/sso/issues/8"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:013dd176-49e9-3d97-9e2c-63c121bc10fa
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9DBC:17DCE6:2AE2949:38C0400:6B039780
html-safe-noncee72d073dbba0f9c7004dcd7729ac8c42691c9da3b4fd0928b3413bddf3fdaee9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REJDOjE3RENFNjoyQUUyOTQ5OjM4QzA0MDA6NkIwMzk3ODAiLCJ2aXNpdG9yX2lkIjoiNDU5OTg0NjUxNzY2OTU5OTEwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac03957e4803683813789dc62777772a00e5661a4258f6aed92af6411ae08a0664
hovercard-subject-tagissue:4426845592
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/sso/8/issue_layout
twitter:imagehttps://opengraph.githubassets.com/248bb8ee58cfc94b49614280dcaa16c65290932af29e668458d03e87c04a5c01/JavaScriptSolidServer/sso/issues/8
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/248bb8ee58cfc94b49614280dcaa16c65290932af29e668458d03e87c04a5c01/JavaScriptSolidServer/sso/issues/8
og:image:altTracking issue for the phased rollout of "SSO redirects the user to their pod AND the pod knows who just arrived." Replaces the prior 0.0.2 OIDC approach (which couldn't bridge cross-origin into th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemelvincarvalho
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/JavaScriptSolidServer/sso git https://github.com/JavaScriptSolidServer/sso.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id1236281583
octolytics-dimension-repository_nwoJavaScriptSolidServer/sso
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1236281583
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/sso
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/sso/issues/8#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2Fsso%2Fissues%2F8
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2Fsso%2Fissues%2F8
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=JavaScriptSolidServer%2Fsso
Reloadhttps://github.com/JavaScriptSolidServer/sso/issues/8
Reloadhttps://github.com/JavaScriptSolidServer/sso/issues/8
Reloadhttps://github.com/JavaScriptSolidServer/sso/issues/8
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer
ssohttps://github.com/JavaScriptSolidServer/sso
Codehttps://github.com/JavaScriptSolidServer/sso
Issues8 (8)https://github.com/JavaScriptSolidServer/sso/issues
Pull requestshttps://github.com/JavaScriptSolidServer/sso/pulls
Actionshttps://github.com/JavaScriptSolidServer/sso/actions
Projectshttps://github.com/JavaScriptSolidServer/sso/projects
Security and qualityhttps://github.com/JavaScriptSolidServer/sso/security
Insightshttps://github.com/JavaScriptSolidServer/sso/insights
https://github.com/JavaScriptSolidServer/sso
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/sso/issues/8
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/sso/issues/8
Cross-origin SSO→pod handoff (phased plan): ?webid= now, NIP-98 fragment laterhttps://github.com/JavaScriptSolidServer/sso/issues/8#top
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
on May 12, 2026https://github.com/JavaScriptSolidServer/sso/issues/8#issue-4426845592
#6https://github.com/JavaScriptSolidServer/sso/issues/6
sso@cb0c996https://github.com/JavaScriptSolidServer/sso/commit/cb0c996
melvincarvalho/xlogin#16https://github.com/melvincarvalho/xlogin/pull/16
#1https://github.com/JavaScriptSolidServer/sso/issues/1
Multi-user support: switch identities, multiple sessions, identity picker #7https://github.com/JavaScriptSolidServer/sso/issues/7
#1https://github.com/JavaScriptSolidServer/sso/issues/1
melvincarvalho/xlogin#16https://github.com/melvincarvalho/xlogin/pull/16
Sign up for freehttps://github.com/signup?return_to=https://github.com/JavaScriptSolidServer/sso/issues/8
Sign in to commenthttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/sso/issues/8
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.