Accessing session cookies from marimo
Hi. Is there a way to access the session cookies in marimo?
3 Replies
Not with marimo direclty, but maybe using https://anywidget.dev/
thanks for the suggestion. I made this work, but then I realized that the cookies I was aiming for was not the ones set on the client, but rather the ones sent by on the instantiation request. This is because my marimo deployment is behind a proxy which appends a cookie to the request, which contains a username that I would like to fetch in marimo to build in some kind access control
Maybe you could do this
https://docs.marimo.io/guides/deploying/programmatically.html