Hi everyone,
I’m using this code from @PavloSydorenko to store the users credentials in a mongodb database and it works fine. Only one problem, when a user refreshes the browser, they get logged out !
Is there a way to avoid that, please ?
After some reasearch, I understand that maybe I need to use CookieManager
from extra-streamlit-components
but I really don’t know how to impelement that in @Pavlo’s code.
I’ll be more than happy if someone can show how to do it or give me an alternative/better approach.
Thank you so much for your help