How to securely authenticate users into your Streamlit app
Install Streamlit-Authenticator
pip install streamlit-authenticator
Check Streamlit-Authenticator is installed
import streamlit_authenticator as stauth
step1: How to hash user passwords to a pickle file
step2: Integrate Login and Logout with Streamlit Widget
https://blog.streamlit.io/streamlit-a...
Streamlit-Authenticator
Step 1: Generate Pikle File for hashed passwords python generatekeys.py This would generate hashed_passwords.pkl
generatekeys.py: https://github.com/naashonomics/steam...
Step 2: Check Orginal demo_pytube.py streamlit run demo_pytube_orig.py
If you have not seen how it was built checkout: • Build a youtube Video downloader with...
demo_pytube_orig.py: https://github.com/naashonomics/steam...
Step3: Code added for login and logout for demo_pytube.py streamlit run demo_pytube.py
demo_pytube.py: https://github.com/naashonomics/steam...
Udemy Course for streamlit: https://www.udemy.com/course/develop_...