Closed BastienGauthier closed 6 months ago
Hi @BastienGauthier, your password in the config file is not hashed, please use stauth.Hasher(['my_hashed_password']).generate() to hash your password. It should look something like this - $2b$12$E9/bCaN/r8sN/FV2l8NpgOgspUBAp7UAVU6BgsXJzp/pW8gQWCprC
Actually, I wrote "my_hashed_password" not to disclose any credential, but it is hashed in the real configuration file. I use the same on windows and it works : it is really a windows vs kubernetes pods issue. Using the stauth hashing instead of the previous use solved the issue though.
Each time I try to login with streamlit-authentificator into a streamlit application deployed on a kubernetes pod, I have a "Invalid Salt" print in the terminal, without any error. The login windows does not react. I suspect an issue with the bcrypt librairy, but I can't see where : I tried downgrading to 4.0 and 3.2, no chance.
It works fine in local mode, on windows.
An code exemple :