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

Jupyter Password/Security token comes in some of the time #7443

Closed
zarif98 opened this issue Aug 19, 2024 · 5 comments
Closed

Jupyter Password/Security token comes in some of the time #7443

zarif98 opened this issue Aug 19, 2024 · 5 comments
Labels
bug status:Needs Info status:Needs Triage Applied to issues that need triage

Comments

@zarif98
Copy link

zarif98 commented Aug 19, 2024

image (9)

I have noticed amongst our machines that the security token only comes in some of the time. Is there a reason why the security token box gets triggered?

@zarif98 zarif98 added bug status:Needs Triage Applied to issues that need triage labels Aug 19, 2024
@JasonWeill
Copy link
Collaborator

I've only seen that box appear when I use a new browser, or when I'm using a browser that does not retain data from prior sessions — such as a browser in private or incognito mode. Is your browser set up to discard data regularly, such as every day or on exit?

@zarif98
Copy link
Author

zarif98 commented Aug 20, 2024

So we use Chromium for all of our machines. We use Microsoft Edge but we don't believe we have any settings that does not retain data from prior sessions. Right now, everything feels a little random and we'd like to figure out why. We don't want to stop this authentication but would like to know how we can be secure and maybe not have it pop up at the same time.

@RRosio
Copy link
Collaborator

RRosio commented Aug 27, 2024

Per triage discussion: you can disable the token requirement, https://jupyter-server.readthedocs.io/en/latest/operators/security.html#alternatives-to-token-authentication, and while it is not recommended, if you are on a private network it might be a reasonable option to mitigate this behavior (thanks @JasonWeill and @krassowski).
Are you regularly restarting your server? This could be why the token gets overwritten and leads to the behavior you describe.

@RRosio
Copy link
Collaborator

RRosio commented Sep 3, 2024

Hi @zarif98, this is just a friendly ping to see if you are still experiencing this issue and if you've had a chance to look over my comment above?

@zarif98
Copy link
Author

zarif98 commented Sep 6, 2024

Sorry forgot to respond but yes! We are planning on putting some logs in and checking it from our end to really see what is going on. Thanks for the comment, it was insightful to look into what was actually ticking this feature.

@zarif98 zarif98 closed this as completed Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Needs Info status:Needs Triage Applied to issues that need triage
Projects
None yet
Development

No branches or pull requests

3 participants