sonar icon indicating copy to clipboard operation
sonar copied to clipboard

Authentication next steps

Open Frando opened this issue 5 years ago • 0 comments

What we still need to do:

  • [ ] client: don't store tokens/accesscode in localStorage, use secure cookies instead
  • [ ] server: allow to create tokens with read/write capabilities for specific collections
  • [ ] client: support multiple tokens/accesscodes
  • [ ] rethink token vs accesscode model, review where we want/need JWTs
  • [ ] add one-time login links for use in short URLs, remove accesscodes
  • [ ] maybe add sessions (after login) with plain old session cookies (less overhead than JWTs in all requests)
  • [ ] add UI to manage tokens
  • [ ] rethink if/how we want to derive tokens/JWT from hypercore keys

Frando avatar Aug 05 '20 21:08 Frando