john_helt
john_helt3mo ago

Accessing session cookies from marimo

Hi. Is there a way to access the session cookies in marimo?
3 Replies
Myles Scolnick
Myles Scolnick3mo ago
Not with marimo direclty, but maybe using https://anywidget.dev/
anywidget
anywidget | anywidget
juypyter widgets made easy
john_helt
john_heltOP3mo ago
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