-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
What
Replace the existing login + email verification flow with a fully client-side authentication process using Lit PKP + DID PLC.
Users prove ownership of a did:plc and are granted upload permissions using UCANs signed by a Space DID.
Why
This change, if possible, removes reliance on Storacha servers for authentication by letting users prove ownership of a did:plc directly in the browser using Lit PKP. It simplifies infrastructure, aligns identity with your UCAN-based permission model, and enables secure, walletless logins via various providers. It offers a decentralized, scalable, and user-friendly auth flow.
How
The new authorization flow should
- Resolve
did:plc - Verify
did:plcownership (equivalent toaccess/authorize) - Support
did:plctype (cli, upload, auth, etc) - Provide existing delegations for a given
did:plc(access/fetch) - Preserve UCAN Delegations chain of authority
- New Spaces:
-
space->agent -
space->did:plc(note: we don't delegate todid:mailtoanymore) - discard space private key
-
- Existing Spaces
- client fetchs the existing delegations
- New Spaces:
- Support user sign up (first time)
- User sign in
- Existing user signs up on a new device (sounds similar to the sign-in process?)
- Billing Integration
- Lit Integration
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Stuck / Dead Issue