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

Provide error messages #8

Open
2 tasks
jp-hoehmann opened this issue Jun 22, 2020 · 0 comments
Open
2 tasks

Provide error messages #8

jp-hoehmann opened this issue Jun 22, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@jp-hoehmann
Copy link
Collaborator

jp-hoehmann commented Jun 22, 2020

For common issues, we might want to add localized error messages to the error object, simplifying utilization of this library. Currently, any errors are passed through the way they are generated by the browser. This leads to each implementation having to provide (and localize) its own error messages, that are necessarily less specific.

For reference, this is the provider for the error messages the webui currently uses, when an error is encountered in the WebAuthn browser stack:
https://github.com/privacyidea/privacyidea/blob/master/privacyidea/static/providers/errorMessageProvider.js

We should at least check for the following errors:

  • requested algorithm not supported by authenticator
  • ...
@jp-hoehmann jp-hoehmann added the enhancement New feature or request label Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant