{"repo":"asehmi/auth-simple-for-streamlit","free":true,"listed":false,"github":"https://github.com/asehmi/auth-simple-for-streamlit","clone":"git clone https://github.com/asehmi/auth-simple-for-streamlit.git","description":"A simple username/password database authentication solution for Streamlit","language":"Python","stars":94,"topics":["streamlit","streamlit-webapp","sqlite","airtable","airtable-api","login","authentification"],"license":"MIT","category":"databases-storage","readme_excerpt":"Simple Authentication for Streamlit Apps A simple username/password database authentication solution for Streamlit with server-side session tokens Arvindra Sehmi, CloudOpti Ltd. Website LinkedIn Version 1.0.2 Updated: April 5, 2026 --- TL;DR: A simple, production-ready username/password authentication solution with: - Server-side session tokens (no sensitive data in browser) - Optional email-based user signup with PIN verification - Support for SQLite (local) and Airtable (cloud) backends - Pluggable message callbacks for custom UI integration - Persistent \"Remember me\" sessions (30 days) Quick start To get started immediately with a SQLite database, follow these steps: 1. Clone this repo 2. Copy the sample environment settings file .env.sample to .env 3. Install requirements pip install -r requirements.txt 4. (Optional) Configure SendGrid for email signup: - Get an API key from SendGrid - Add to .env : SENDGRID API KEY=... and NOTIFICATION FROM EMAIL=... - Set ALLOW USER SIGN UP='True' in .env to enable self-service signup 5. Initialize the SQLite database and create some users (including at least one super user) streamlit run admin.py 6. Finally, run the test application streamlit run app.py Introduction This is not an identity solution, it's a simple username/password login authentication solution using a backing database inspired by this post (written by madflier) over in the Streamlit discussion forum. I've previously implemented an authentication and identity solution: ","default_branch":null,"files":null,"tree":[],"storefront":"/r/asehmi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/asehmi/auth-simple-for-streamlit/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."}