two-factor icon indicating copy to clipboard operation
two-factor copied to clipboard

Better U2F error messages

Open My1 opened this issue 6 years ago • 3 comments

from #191 https://developers.yubico.com/U2F/Libraries/Client_error_codes.html

The error codes are the following: 1: Something not listed below (aka unknown error) 2: Bad Request, aka:

  • the AppID is invalid e.g.
    • no HTTPS,
    • URL Doesnt match the site you are on
    • U2F is called wrongly

3: Something wrong with the Client config (no Idea what that means) 4: in registration: U2F stick already registered in Login: U2F Stick unknown for this account

5: Timeout

My1 avatar Oct 06 '17 19:10 My1

There's no error message being shown when one inserts the wrong Securitykey, this should be fixed.

gstammw avatar Mar 12 '19 14:03 gstammw

well when inserting the key the site doesnt even know what happens, but after pressing it, sure it should show an error 4

My1 avatar Jan 05 '20 01:01 My1

U2F is deprecated and no longer works in Chrome, so the provider is being removed in #439.

A WebAuthn provider is being added in #427 , though, and I think this'll probably apply there too.

iandunn avatar Oct 20 '22 14:10 iandunn