Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can one disable authentication for local development? (bind address 127.0.0.1) #1083

Closed
sck opened this issue Apr 12, 2021 · 1 comment
Closed

Comments

@sck
Copy link

sck commented Apr 12, 2021

Hi,

I am using Pluto on a 127.0.0.1 port in a docker container that I restart often, and would like to disable authentication since the notebook cannot be accessed from other servers.
(In python jupyter allows to do that by setting c.NotebookApp.token = '' in a config file)

Thanks

Sven

@sck
Copy link
Author

sck commented Apr 12, 2021

Ok, I found it:

One has to set require_secret_for_access=false when calling Pluto.run

Pluto.run(host="127.0.0.1", port=n, require_secret_for_access=false)

@sck sck closed this as completed Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant