wellcomecollection / identity

Identity services for Wellcome Collection users
MIT License
0 stars 2 forks source link

Provide better feedback for users who enter a "trivial" password #379

Closed alexwlchan closed 1 year ago

alexwlchan commented 1 year ago

There are certain passwords that will pass our validation, but get an error when you try to sign up:

Screenshot 2022-10-03 at 14 36 21

When you look in the Auth0 logs, you see the error comes from Sierra:

Malformed or invalid Patron creation request (cause: [{“code”:136,“specificCode”:6,“httpStatus”:400,“name”:“PIN is not valid”,“description”:“PIN is not valid : PIN is trivial”}])

Is there a better way to handle these?