privacybydesign / irma-frontend-packages

Collection of frontend related packages, that together form a Javascript "client" to the IRMA server.
7 stars 4 forks source link

Fix: HTTP error responses from result endpoint go unnoticed #58

Closed ivard closed 3 years ago

ivard commented 3 years ago

Solution for a bug:

While updating my home server I found an issue with irma-frontend. When logging in on https://metrics.drksn.nl with any other combination of attributes than the allowed one (which is only mine at the moment), the result endpoint will throw an error that the user is forbidden to continue. Instead of an error being visible, irma-frontend gets stuck in a loading state forever.

The solution is quite trivial, so instead of reporting an issue, I immediately made a pull request proposing the solution.