Skip to content

docs/lws.md: flip Phase B + Phase 3 to shipped, add NIP-98 upgrade#402

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-401-docs-lws-update
May 9, 2026
Merged

docs/lws.md: flip Phase B + Phase 3 to shipped, add NIP-98 upgrade#402
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-401-docs-lws-update

Conversation

@melvincarvalho
Copy link
Copy Markdown
Contributor

Closes the JSS half of #401. Companion PR for the Docusaurus mirror at JavaScriptSolidServer/docs follows.

Phase A doc was framed around things forthcoming. Reality moved:

Compatibility table is now ✅ across the board. The "What Phase B will add" / "What Phase 3 will add" sections retitled to describe what's deployed. Added a new section for the NIP-98 upgrade. Refreshed the related-links list with the doctor repo + post-#388 PRs.

Targeted edits — preserved the existing structure and the Phase A profile-shape example block intact.

Phase A doc was framed around things forthcoming. Reality moved:

- Phase B (profile carries keys) shipped via doctor B.2 + B.3
- Phase 3 (LWS-CID JWT verifier) shipped in v0.0.177 via #398
- Bonus path: NIP-98 → WebID via VM lookup shipped in v0.0.178 (#400)

Updated the compatibility table to ✅ everywhere, retitled the
"What X will add" sections to describe what's deployed, added a
new section for the NIP-98 upgrade, refreshed the related-links
list with the doctor repo and the post-#388 PRs.

Closes #401 (JSS half — companion docs-repo PR follows).
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates docs/lws.md to reflect the current shipped state of JSS’s LWS/CID-related features (Phase B + Phase 3 now deployed) and documents the additional shipped NIP-98 → WebID upgrade path.

Changes:

  • Updates the compatibility table to mark Phase B (doctor key injection) and Phase 3 (LWS10-CID JWT verifier) as shipped, with version/PR references.
  • Retitles/rephrases Phase B/Phase 3 sections from “will add” to describing deployed behavior, and adds a section documenting the NIP-98 → WebID VM-lookup upgrade.
  • Refreshes related links to include the doctor repo and the relevant shipped PRs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/lws.md
Comment on lines +61 to +63
When an incoming request carries an LWS-CID JWT (detected by an `Authorization: Bearer <jwt>` whose JWT-header `kid` is an http(s) URL with a fragment), JSS:

1. Confirms `sub === iss === client_id` (canonicalized via URL parsing) — that URI is the WebID being claimed
Comment thread docs/lws.md
Comment on lines +48 to +50
"publicKeyMultibase": "fe70102…" },
{ "id": "...#lws-key-1", "type": "JsonWebKey", "controller": "...#me",
"publicKeyJwk": { "kty": "EC", "crv": "secp256k1", "alg": "ES256K", "x": "…", "y": "…" } }
@melvincarvalho melvincarvalho merged commit 8696866 into gh-pages May 9, 2026
4 checks passed
@melvincarvalho melvincarvalho deleted the issue-401-docs-lws-update branch May 9, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants