For some reason, we are only able to see generic error messages on unsuccessful sign in attempt. Instead of something like “Invalid email or password”, the widget always shows “WE’RE SORRY, SOMETHING WENT WRONG WHEN ATTEMPTING TO LOG IN.”, even though the response in DevTools shows a proper message.
Good question… I’m using the Angular 2 Lock module and am running into the same problem. The whole point of using Lock was to get these sorts of error messages and standard UI prompts taken care of. Don’t tell me I have to implement this myself.
But the problem is that the lock widget ALWAYS shows the same message, no matter the error: “WE’RE SORRY, SOMETHING WENT WRONG WHEN ATTEMPTING TO LOG IN”. Customizing the error message type doesn’t work.