passlib bcrypt not working when deployed to render. "ValueError: password cannot be longer than 72 bytes"
00:16 27 Sep 2025

Im trying to deploy a react app on render. It works on my localhost but when deployed on render the auth function doesn't work. It shows this error

ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72]) however my print logs show that the password is only 13 bytes.

Ive tried using crypt context and made sure the bcrypt backend is the same in local and deployment. Im stuck. Please. Help.

reactjs deployment bcrypt render.com