I've built a Rest API with node. Looking at the authentication route, I have passwords that are stored hashed using bcrypt.
Now when a user comes to login, I can hash the password client side, send this to the API however as far i can see it is not possible to compare 2 hashes. So does this mean the only secure option is to send it as plain text through HTTPS?
I've seen it answered here Client side password hash versus plain text however is there a general consensus plain text over https is the only significant way.
Thanks.