{"repo":"SiddhantSadangi/st_login_form","free":true,"listed":false,"github":"https://github.com/SiddhantSadangi/st_login_form","clone":"git clone https://github.com/SiddhantSadangi/st_login_form.git","description":"Create secure authentication forms for your Streamlit apps - in one-line of code!","language":"Python","stars":158,"topics":["login-forms","streamlit","streamlit-component","supabase","webapp"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"🔐 Streamlit Login Form A Streamlit authentication component that creates a user login form connected to a Supabase DB. :balloon: Try the Demo App :rocket: Features - One-line Integration : Add authentication to your Streamlit app with a single function call. - Secure Password Hashing : Uses the award-winning Argon2 algorithm for password security. - Password Constraints : Enforces strong password rules out-of-the-box. - Multi-Mode Login : Supports account creation, login, and guest access. - Automatic Password Hashing : Plaintext passwords are automatically hashed on login or via a bulk update. - Session Management : Seamlessly handles login and logout, with a clear session state and a logout button that replaces the login form. - Customizable UI : Easily change form labels, placeholders, and messages. - Supabase Integration : Connects directly to your Supabase database for persistent user management. - Extensible : Designed for future support of other databases (e.g., MySQL). :building construction: Installation 1. Install st-login-form 2. Create a Supabase project as mentioned here 3. Create a table to store the usernames and passwords. A sample DDL query is shown below: 4. Follow the rest of the steps from here to connect your Streamlit app to Supabase :pen: Usage On authentication, login form() sets the st.session state['authenticated'] to True , and replaces the login form with a logout button. st.session state['username'] is set to the provided username for a new or ex","default_branch":null,"files":null,"tree":[],"storefront":"/r/SiddhantSadangi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SiddhantSadangi/st_login_form/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}