-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Background
Nostr uses secp256k1 keypairs for identity. A did:nostr:<pubkey> could serve as a decentralized WebID without requiring an HTTP-hosted identity document.
What Would Be Needed
Client (solid-oidc.js)
- Already accepts any
webidclaim - minimal changes needed - May need DID resolution if dereferencing the WebID
IDP (Server)
A Nostr-OIDC bridge that:
- Presents a challenge (random nonce)
- User signs with their Nostr private key (nsec)
- Bridge verifies signature against public key (npub)
- Issues standard OIDC tokens with
webid: "did:nostr:<pubkey>"
Possible Approaches
- Patch existing IDPs (CSS, JSS) - add Nostr auth flow
- Standalone Nostr-OIDC bridge - minimal service that speaks OIDC but authenticates via Nostr
- Client-side DPoP with Nostr keys - skip OIDC, use Nostr keys directly for DPoP
Questions
- Should the
webidbedid:nostr:<npub>ordid:nostr:<hex-pubkey>? - How to handle DID document resolution?
- Could NIP-05 identifiers map to WebIDs?
References
- DID Nostr Method (if formalized)
- Solid-OIDC Spec
- Nostr NIP-07 - browser extension signing
Metadata
Metadata
Assignees
Labels
No labels