Reputation: 95
I am trying to integrate webauthn(public key) based authentication into our website.I am facing a problem when end users are switching devices.
How do we maintain at the backend the credentials registered per device, if we don't how to decide whether to show webauthn based auth or now for the current device?
These are the only solutions i could think of:
Upvotes: 9
Views: 4579
Reputation: 454
You're highlighting one of the key issues that WebAuthn currently has, especially for platform authenticators like Windows Hello, Touch ID, etc.
The solutions you suggest are basically all you can do, but be aware that both are far from perfect. Especially local storage can be a real rabbit hole.
You may want to take a look at FIDO Alliance's latest white paper around "multi-device FIDO credentials" where you'll learn what the industry is doing to improve the situation: https://fidoalliance.org/white-paper-multi-device-fido-credentials/
Upvotes: 6