You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Port forward the Istio ingress gateway and access Kubeflow over localhost
Navigate the the Notebooks Management UI
Click LAUNCH in the form and try to spawn a Notebook
After this I got an error due to CSRF header missing in the POST request.
What did you expect to happen:
I would expect the app to be able to work, if accessed over localhost.
Anything else you would like to add:
This is because right now we always use Secure attribute when setting the CSRF cookie. This means that the cookie will not be set in the browser, if the request happens over http.
I can create a small PR that will introduce an APP_SECURE_COOKIES env variable that will control whether our apps should use Secure cookies or not. This will allow people to make the apps work even if exposed over http with a simple change in the manifests.
/kind bug
What steps did you take and what happened:
LAUNCH
in the form and try to spawn a NotebookAfter this I got an error due to CSRF header missing in the POST request.
What did you expect to happen:
I would expect the app to be able to work, if accessed over localhost.
Anything else you would like to add:
This is because right now we always use Secure attribute when setting the CSRF cookie. This means that the cookie will not be set in the browser, if the request happens over http.
Here's also the relevant MDN info:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#Secure
cc @yanniszark @elikatsis
The text was updated successfully, but these errors were encountered: