Skip to content

Provide error messages #8

Description

@jp-hoehmann

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
  • ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions