Do not autologin with webbrowser.open.
Open
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
When running `jupyter notebook`, this will automatically login users, thus preventing them to see the login page allowing them to set a password.

I suggest to change the flow so that on startup it does not pass `?token=...` but `?prefill_token=...`, stop users on above page by pre-filling the token, and let users set-up a password.
Contributor guide
Research direction
Start with the startup flow for `jupyter notebook`, particularly the path that calls `webbrowser.open` and adds the token query parameter. Trace how the login page handles that parameter; done means startup uses `prefill_token` instead of `token`, allowing users to reach the page and set a password.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook
- Domain
- authentication, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100