René's URL Explorer Experiment


Title: Login with did:nostr · Issue #37 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub

Open Graph Title: Login with did:nostr · Issue #37 · JavaScriptSolidServer/JavaScriptSolidServer

X Title: Login with did:nostr · Issue #37 · JavaScriptSolidServer/JavaScriptSolidServer

Description: Summary Enable authentication via did:nostr: resolution, bridging Nostr identity to Solid WebID. How It Works nostr.social runs nostr-beacon which already supports alsoKnownAs in DID documents: https://nostr.social/.well-known/di...

Open Graph Description: Summary Enable authentication via did:nostr: resolution, bridging Nostr identity to Solid WebID. How It Works nostr.social runs nostr-beacon which already supports alsoKnownAs in DID docume...

X Description: Summary Enable authentication via did:nostr:<pubkey> resolution, bridging Nostr identity to Solid WebID. How It Works nostr.social runs nostr-beacon which already supports alsoKnownAs in DID ...

Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/37

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Login with did:nostr","articleBody":"## Summary\n\nEnable authentication via `did:nostr:\u003cpubkey\u003e` resolution, bridging Nostr identity to Solid WebID.\n\n## How It Works\n\nnostr.social runs [nostr-beacon](https://github.com/nostr-labs/nostr-beacon) which already supports `alsoKnownAs` in DID documents:\n\n```\nhttps://nostr.social/.well-known/did/nostr/\u003cpubkey\u003e.json\n```\n\n### Step 1: User links Nostr → WebID\n\nAdd `alsoKnownAs` to Nostr profile (kind 0 event):\n```json\n{\n  \"name\": \"alice\",\n  \"alsoKnownAs\": [\"https://solid.social/alice/profile/card#me\"]\n}\n```\n\n### Step 2: User links WebID → Nostr\n\nAdd `owl:sameAs` to WebID profile:\n```json\n{\n  \"@id\": \"#me\",\n  \"owl:sameAs\": \"did:nostr:\u003cpubkey\u003e\"\n}\n```\n\n### Step 3: JSS verifies bidirectional link\n\n```\n1. Request arrives with NIP-98 header\n2. Extract pubkey from Nostr event signature\n3. Fetch: nostr.social/.well-known/did/nostr/\u003cpubkey\u003e.json\n4. Get alsoKnownAs → WebID URL\n5. Fetch WebID profile\n6. Check owl:sameAs === did:nostr:\u003cpubkey\u003e\n7. Bidirectional match? → Authenticated as WebID\n```\n\n## Implementation\n\n```javascript\n// src/auth/did-nostr.js (~50 lines)\nexport async function resolveNostrToWebId(pubkey) {\n  // Fetch DID document\n  const res = await fetch(`https://nostr.social/.well-known/did/nostr/${pubkey}.json`);\n  const didDoc = await res.json();\n  \n  // Get WebID from alsoKnownAs\n  const webid = didDoc.alsoKnownAs?.[0];\n  if (!webid) return null;\n  \n  // Verify backlink in WebID profile\n  const profile = await fetch(webid, {\n    headers: {'Accept': 'application/ld+json'}\n  }).then(r =\u003e r.json());\n  \n  const sameAs = profile['owl:sameAs'] || profile['sameAs'];\n  if (sameAs === `did:nostr:${pubkey}`) {\n    return webid;\n  }\n  return null;\n}\n```\n\n## Benefits\n\n- No passwords, cryptographic signatures only\n- Bridges Nostr ↔ Solid identity\n- Works with existing NIP-07 browser extensions\n- Uses existing NIP-98 auth in JSS\n- Decentralized identity resolution via nostr.social\n\n## Related\n\n- [nostr-beacon](https://github.com/nostr-labs/nostr-beacon) - DID resolver running on nostr.social\n- NIP-07: Browser extension signing\n- NIP-98: HTTP Auth (already in JSS)\n- Existing Nostr auth: `src/auth/nostr.js`","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-01-03T23:07:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/37/JavaScriptSolidServer/issues/37"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:40d284e3-188f-0414-5125-7be5110cd79e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBA14:14B12A:28F0A89:35782FB:6976FE01
html-safe-nonce7becd610c05a75caec0ae150d258ef11a73fd75e0bc24e991c46ccb7431b6159
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTE0OjE0QjEyQToyOEYwQTg5OjM1NzgyRkI6Njk3NkZFMDEiLCJ2aXNpdG9yX2lkIjoiMzgzODk4MTI4NDM1Njg4MTkyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc68c47209be2b3128de0313967dc70f8bd7a61da9eb7a103914421f299cf5352
hovercard-subject-tagissue:3778576232
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/JavaScriptSolidServer/37/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c2936d2486ac4644226003cc1a94c8e95fda7e716617f64bdb6e3efd340c26ae/JavaScriptSolidServer/JavaScriptSolidServer/issues/37
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c2936d2486ac4644226003cc1a94c8e95fda7e716617f64bdb6e3efd340c26ae/JavaScriptSolidServer/JavaScriptSolidServer/issues/37
og:image:altSummary Enable authentication via did:nostr: resolution, bridging Nostr identity to Solid WebID. How It Works nostr.social runs nostr-beacon which already supports alsoKnownAs in DID docume...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemelvincarvalho
hostnamegithub.com
expected-hostnamegithub.com
None01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09
turbo-cache-controlno-preview
go-importgithub.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id958025407
octolytics-dimension-repository_nwoJavaScriptSolidServer/JavaScriptSolidServer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id958025407
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/JavaScriptSolidServer
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
releasef752335dbbea672610081196a1998e39aec5e14b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/37#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2F37
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2F37
Sign up https://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%2FJavaScriptSolidServer
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/37
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/37
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/37
JavaScriptSolidServer https://github.com/JavaScriptSolidServer
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Notifications https://github.com/login?return_to=%2FJavaScriptSolidServer%2FJavaScriptSolidServer
Fork 4 https://github.com/login?return_to=%2FJavaScriptSolidServer%2FJavaScriptSolidServer
Star 4 https://github.com/login?return_to=%2FJavaScriptSolidServer%2FJavaScriptSolidServer
Code https://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Issues 59 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues
Pull requests 6 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulls
Actions https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/actions
Projects 0 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/projects
Security 0 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/security
Insights https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulse
Code https://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Issues https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues
Pull requests https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulls
Actions https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/actions
Projects https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/projects
Security https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/security
Insights https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulse
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/37
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/37
Login with did:nostrhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/37#top
https://github.com/melvincarvalho
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
on Jan 3, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/37#issue-3778576232
nostr-beaconhttps://github.com/nostr-labs/nostr-beacon
nostr-beaconhttps://github.com/nostr-labs/nostr-beacon
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

Viewport: width=device-width


URLs of crawlers that visited me.