Cookies support in Streamlit!

cookies are shared across streamlit apps. If I launch the test app 2 times in 2 tabs, I see the same cookies. Is it expected?

Hi @Mohamed ,

I have tried the sample code from Github but it shows a warning message. (Attached image)

My goal is to store login credentials(username and password) on the login page of my Streamlit app in browser cookies.

versions:
streamlit: 1.37.0
streamlit-extras: 0.4.7

Please let me know how I can remove this warning.

Thanks