Does this remember that the user is authenticated even after manual refresh? I cloned the repo and its authentication user but on a manual refresh of the web page it log me out. I did a simple code using Firebase and was able to authenticate the user but have a similar issue on browser refresh.
@ankmishra04 - Yes, with the latest cookies feature, it should survive a refresh.
Hello rahul-psych.
Would you share your implementation with streamlit.secret with me?
I plan to share my app with streamlit share, so I’d like to implement the built-in structures of streamlit for my secrets.
@asehmi : Many thanks for your work. You saved me a lot of work.
Regards Sven
Hi,
I’ve updated this solution to use the latest version of Streamlit and improved the Airtable integration. Note, it supports SQLite as well. Extensive documentation is included in the readme.
GitHub
Enjoy!
Arvindra
First off, thank you. This solution is very useful. However…
I downloaded the zip file from Github and extracted all the files into my directory.
Changed the env.sample to .env without any edits.
Installed requirements from the requirements text but it failed to find pycryptodome==3.18.1 so I just installed pycryptodome. Version is 3.21.0
streamlit run admin.py works in that the page opens but I am not able to create a user. I get the error message:
Trapped exception
‘NoneType’ object has no attribute ‘encode’
I can view users but the passwords display as hashed.
streamlit run app.py works and I can log in using the admin account provided. If I select super user then I can edit the database and all functions work. I can create and edit users. Viewing users still displays passwords as hashed.
What can I do to have the admin.py file work?
Is it possible to have the passwords display in plain text as shown in the .gif demo?
When entering information into any form, username or password, after pressing enter the cursor does not move to the next field. Is this typical for Streamlit pages?
I do have a login page though so thanks for that! Any assistance is greatly appreciated.
Will have a quick look soon. I haven’t touched this app for a while. It’s best practice not to allow anyone (admins included) to see passwords, so I don’t think I’ll be doing that. You can yourself though remove all encryption by modifying the code.