diff --git a/jupyter_server_proxy/standalone/proxy.py b/jupyter_server_proxy/standalone/proxy.py index 610d11e9..a00181fd 100644 --- a/jupyter_server_proxy/standalone/proxy.py +++ b/jupyter_server_proxy/standalone/proxy.py @@ -53,6 +53,10 @@ def check_origin(self, origin: str = None): # Skip JupyterHandler.check_origin return WebSocketHandler.check_origin(self, origin) + def check_xsrf_cookie(self): + # Skip HubAuthenticated.check_xsrf_cookie + pass + def write_error(self, status_code: int, **kwargs): # ToDo: Return proper error page, like in jupyter-server/JupyterHub return RequestHandler.write_error(self, status_code, **kwargs)