graasp / client

Client interface for the Graasp platform
https://graasp.org
GNU Affero General Public License v3.0
0 stars 3 forks source link

Captcha error displays 401 errors #472

Open pyphilia opened 1 year ago

pyphilia commented 1 year ago

The message should be something readable, not "401 error".

spaenleh commented 1 year ago

PR graasp/graasp-auth#183 changes slightly the message that is displayed (the captcha script in this case was disabled, so there is not property captcha):

Screenshot 2023-08-18 at 08 55 31

In case the captcha validation fails because the score is too low we get:

Screenshot 2023-08-18 at 08 58 22

This is because the backend sends an AuthenticationError without more information.

Should we improve that message further ?