Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: remove secure cookie to fix safari development (#50)

Myles Scolnickae27db44ebc7
diff --git a/marimo/_server/server.py b/marimo/_server/server.py
index 6ed3d5e18b..9327a28ff5 100644
--- a/marimo/_server/server.py
+++ b/marimo/_server/server.py
@@ -256,11 +256,6 @@ async def start_server(
cookie_secret=secrets.token_hex(),
template_path=root,
xsrf_cookies=True,
- # This allows embedding the app in an iframe on another domain
- xsrf_cookie_kwargs={
- "samesite": "None",
- "secure": True,
- },
debug=development_mode,
# ping the websocket once a second to prevent intermittent
# disconnections