Mohamed-512 / Extra-Streamlit-Components

An all in one place, to find complex or just not available components by default on streamlit.
Apache License 2.0
466 stars 59 forks source link

Add more control over the cookie options #36

Closed matheusfillipe closed 1 year ago

matheusfillipe commented 1 year ago

I came into the necessity of having more control over the cookie options like sameSite, domain and secure, so I decided to expose all of them to streamlit except httpOnly since you cant set this through JavaScript.

If you like the idea but would want this to be implemented in a different just tell me :+1:

ArnoSchiller commented 1 year ago

This would really be great, seems like the cookie manager can not set cookie without sameSite. @Mohamed-512, please have a look.

Mohamed-512 commented 1 year ago

Hi, thanks for the PR. Please resolve the conflict and I will add in an upcoming update