-
Notifications
You must be signed in to change notification settings - Fork 44
Starting notebook session with a password protected server #109
Comments
Hi @episodeyang, I am not familiar with how password protecting is handled normally in notebooks, perhaps @minrk can answer that part. My guess is that you would set the https://github.com/jupyter/jupyter-js-utils/blob/master/src/index.ts#L169 |
With the current notebook server, you must login with a password, which sets a cookie, and the cookie must be used with all subsequent requests. We've discussed adding token authentication via headers, but it hasn't happened yet. |
@minrk Thanks! @blink1073 yeah so the problem right now is that the auth is cookie based, so unless the user manually pass the cookie along, a javascript client can not connect to a password protected server because as soon as you connect, the server redirects which prevents a js client to get the cookie information. Ge |
Does using I believe @parente is already using it. |
@episodeyang are you bound to notebooks and the notebook server specifically? If not, you might want to look at kernel gateway. |
IBM's Spark as a Service on Bluemix provides a kernel gateway protected with basic auth. But the sample code [1] has to jump through loops to get it working. [1] step 2 at https://console.ng.bluemix.net/docs/services/AnalyticsforApacheSpark/index-gentopic4.html#running_spark_interactive_api_app |
Hi,
Sorry if this is already implemented. I looked for the options to connect to password protected notebooks with the service. Is this possible?
Thanks!
Ge
The text was updated successfully, but these errors were encountered: