Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error messages #197

Open
My1 opened this issue Oct 6, 2017 · 3 comments
Open

Better error messages #197

My1 opened this issue Oct 6, 2017 · 3 comments

Comments

@My1
Copy link

My1 commented Oct 6, 2017

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

@gstammw
Copy link

gstammw commented Mar 12, 2019

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

@My1
Copy link
Author

My1 commented Jan 5, 2020

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

@iandunn
Copy link
Member

iandunn commented Oct 20, 2022

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.

@jeffpaul jeffpaul changed the title Better U2F error messages Better error messages Sep 17, 2024
@jeffpaul jeffpaul added this to the 0.12.0 milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants