| sidebar_position | 5 |
|---|---|
| title | Authentication |
| description | Solid-OIDC, Nostr NIP-98, and token authentication |
JSS supports multiple authentication methods.
Token returned from pod creation:
curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:3000/alice/private/jss start --idpCreate a user:
curl -X POST http://localhost:3000/.pods \
-H "Content-Type: application/json" \
-d '{"name": "alice", "email": "[email protected]", "password": "secret123"}'OIDC Discovery: /.well-known/openid-configuration
JSS accepts DPoP-bound tokens from any Solid IdP:
curl -H "Authorization: DPoP ACCESS_TOKEN" \
-H "DPoP: DPOP_PROOF" \
http://localhost:3000/alice/private/Sign requests with Nostr keys. Install the credential helper for git:
npm install -g git-credential-nostr
git-credential-nostr generate
git config --global credential.helper nostr
git config --global nostr.privkey <key>See git-credential-nostr for details.