Closed stinovlas closed 4 years ago
When some kind of error occurs on the server side, django-fido simply displays An unknown error has occurred. message.
django-fido
An unknown error has occurred.
However, server often sends detailed message about what happened. E.g. when user has no authenticators, server returns status code 404 with response:
{"error": "Can't create FIDO 2 authentication request, no authenticators."}
This message would be much more helpful for the user. It's necessary to handle the translations as well.
When some kind of error occurs on the server side,
django-fido
simply displaysAn unknown error has occurred.
message.However, server often sends detailed message about what happened. E.g. when user has no authenticators, server returns status code 404 with response:
This message would be much more helpful for the user. It's necessary to handle the translations as well.