Is it possible to remove a registered credential from a device? #164
Replies: 3 comments 4 replies
-
Currently the WebAuthn API itself doesn't provide for this. There are some threads that touch on it at https://github.com/w3c/webauthn/issues, though iiuc the concept would not be applicable in all cases and would likely require user mediation for the cases where it could apply. |
Beta Was this translation helpful? Give feedback.
-
Getting pedantic for a second, it sounds like what you're really trying to do is "delete a discoverable credential". These credentials are actually persisted in the authenticator and are unique in that they can be used without needing to specify the credential ID in Unfortunately we see in the wild that some authenticators will always create discoverable credentials even without specifying As you've noted Windows offers up some kind or arcane command line tool for managing these types of credentials (what was the name of that, if you don't mind? I can't remember), but there's no friendly GUI available as far as I'm aware. As a matter of fact I'm experimenting with using CTAP2 directly to try and manage discoverable credentials via Yubico's fido2 library. It seems if I can pull something off it'll be limited to cross-platform authenticators, and Windows Hello; Apple doesn't seem to offer command line access to the secure enclave in the same way Windows allows you to interact with Windows Hello... |
Beta Was this translation helpful? Give feedback.
-
Since search brought me here, I'll go head and drop these here as I'm figuring them out:
|
Beta Was this translation helpful? Give feedback.
-
This library is awesome, we have successfully used it to enable FIDO2 authentication in a mobile web app and tested on iOS, Android, and Windows. The only way I've found to remove a credential from these platforms is either brute force "Clear History and Website Data", or a special tool on windows that is very cryptic.
Ideally, we would like to enable a user to remove a device credential from our mobile web experience.
Beta Was this translation helpful? Give feedback.
All reactions