silverstripe / silverstripe-webauthn-authenticator

A Web Authentication (WebAuthn) authenticator for silverstripe/silverstripe-mfa
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Error experience is not great #99

Open maxime-rainville opened 2 years ago

maxime-rainville commented 2 years ago

When a user puts in the wrong YubiKey, you get a somewhat bad experience.

It tries to log you in and fail without giving you a useful message. It just tries to have you log in again.

https://youtu.be/vIR77GRI8Do

image

maxime-rainville commented 2 years ago

@silverstripeux ^

clarkepaul commented 2 years ago

@maxime-rainville can we actually give more appropriate messaging? e.g. key not recognised, key not detected, timed out.... etc.

ScopeyNZ commented 2 years ago

The server relays the message straight from the underlying authentication library. I'm not sure how user friendly this message is. Right now it's ignored by the UI.

We could either:

Last option would be nicest, but also the most work 😛