Comments (2)
individual credentials can be deleted by just setting a new object that omits that credential in particular. Anything wrong with that approach?
Hmmm, I think on a relational database that would require SELECTing the user, diffing against the user authenticators, and figuring out what to delete. I just realized that's the same thing for adding authenticators though 🤔.
Maybe that's acceptable for an MVP, and we should consider having two kinds of adapters, one for relational and one for document databases.
@nsatragno @inorganik what do you think about adding a new storage interface (and documentation) for the user session as well?
+1
from webauthn.
Agreed for the first two points -- on the last, I'd say that individual credentials can be deleted by just setting a new object that omits that credential in particular. Anything wrong with that approach?
@nsatragno @inorganik what do you think about adding a new storage interface (and documentation) for the user session as well? That would also give greater control on that front (CC #15)
from webauthn.
Related Issues (20)
- Feature request: Changing logger HOT 3
- Feature request: Changing attestation type HOT 1
- Feature request: Allowing more than one authenticator
- Incompatible with cookie-session package HOT 1
- [Example app] `npm run dev` does not start the server
- Support and default to none attestation HOT 1
- Client should expose errors
- Default to `uv = 'discouraged``
- Roadmap / Intent
- Add unit tests
- Always direct attestation
- The example app has over 16000 vulnerabilities in its dependencies HOT 1
- Website down? HOT 2
- Migrate to TypeScript HOT 1
- Allow for `config.authenticator` to be optional
- The example is awesome but has a little issue HOT 2
- Question: Why base64? HOT 2
- Add missing dependencies in example
- Client does not work in Chrome HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webauthn.