Comments (6)
The problem is in the cookie manager, I was having similar issue and commented all the cookie logic of the library and it worked. The problem now is, well, you dont have the cookie management.
from streamlit-authenticator.
Thanks @Jerry-Master , I raised this with the Extra-Streamlit-Components project here who seem to handle the cookie library. I hope we can get this resolved because having working authentication really helps to demo working prototypes.
from streamlit-authenticator.
Hello everyone, apologies for the inconvenience this issue is causing, I promise to delve deeper into this issue.
from streamlit-authenticator.
Thank you @mkhorasani for the great work! we appreciate it!
from streamlit-authenticator.
I'm seemingly having the same issue and I'm glad it is being investigated. I will just put out observations of mine:
This issue seems to be related specifically to using "Markdown" to update the chat messages. If "Markdown" is used, the stauth will cause the input prompt to only work every other time (e.g. 1st prompt: OK; 2nd prompt: nothing happens; 3rd prompt: OK; 4th prompt: nothing happens...). If we use .ai_say to update the message only by text strings, everything is fine (but passing Markdown as one of the elements to be updated by .ai_say IS NOT FINE); but we lose a lot of functionalities of the chatbox which would be unacceptable.
Update: I tried commenting out all cookie functionalities, and it does resolve the problem. It seems the cookie function is causing the page to rerun multiple times at every prompt input, regardless of the authentication status, which breaks the functionality of some st elements.
from streamlit-authenticator.
I'm having the same issues - glad i'm not going nuts trying to figure out the root cause!
from streamlit-authenticator.
Related Issues (20)
- Refreshing page does not use cookie to re-authenticate HOT 13
- Email verification after registration HOT 1
- validate_name function validation issues HOT 1
- Speed up process of authentication HOT 1
- To force user to use stonger password when they register HOT 2
- Captcha verification HOT 1
- streamlit_authenticator import error HOT 2
- Cannot instantiate authenticator object in multiple pages: DuplicatedWidgetId HOT 3
- Suggested improvement: Remove spaces in input text in login form to prevent failed login during autocomplete
- logged_in field in credentials is not used to force authentication HOT 2
- Refresh Page Would Lost Login and the way to fix it HOT 1
- Typo in README.md in Authenticate.register_user(): pre-authorization => pre_authorization HOT 1
- Add callback options for widgets
- DeprecationError: Likely deprecation error, the 'form_name' parameter has been replaced with the 'fields' parameter. HOT 1
- add firebase capability HOT 3
- authenticator.login() is takes too much time HOT 4
- Forgot password and forgot username components HOT 1
- Logout takes a lot of time when there is more data in the application's session state. HOT 1
- Streamlit-authenticator conflict with streamlit_modal popups HOT 2
- Error when user login is cached in browser HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamlit-authenticator.