buildo / retro

One repo to rule them all
https://buildo.github.io/retro
MIT License
17 stars 5 forks source link

More meaningful authentication errors #10

Open boh717 opened 5 years ago

boh717 commented 5 years ago

requirements

Before the introduction of LDAP, toctoc returned only one error: InvalidCredentials.

LDAP library has many different errors and most of them are totally not related with credentials themselves.

Therefore we should extend toctoc error module to better model different types of errors, preferably customisable by the specific login mechanism.

specs

{optional: describe technical specs to implement this feature, if not obvious}

misc

{optional: other useful info}

bytecodeguru commented 5 years ago

@gabro offsite scope?

gabro commented 5 years ago

We don't really use LDAP in any of our projects, so I wouldn't try to tackle this this week.