Whiteclaws my infraestructure is in localhost but I use ngrok for use https tunnels. I know that is a limited infraestructure but this is for the initial launch. I has this idea yesterday: encript password in C2, decript in PHP and generate hash, if hash is the same of stored in MySQL, login. But I don't know the reason for this idea, and the best practices for encript password and store in MYSQL.
I can simply register password into MySQL, but I preffer encript it.