I don't think it's worth trying to protect the user from themselves too much. If they can access the notebook server through your application, I think there's always going to be some way for them to access it outside your application as well.
On 19 October 2017 at 10:07, Robson Pires <[email protected]> wrote: > Hi, > > The negative point using tolken is that the url can just copied and used > outside of the system, and I dont want that. The user should be able to > only automatically login inside of the webview in my application. > > On Wednesday, 18 October 2017 15:04:17 UTC+2, takowl wrote: >> >> If the server is running locally, you can get a token for it (run >> 'jupyter notebook --list json' to get info about running servers). Pass >> that when loading the web view (as described at >> http://jupyter-notebook.readthedocs.io/en/latest/security.html ), and it >> should log the user in automatically. >> >> Thomas >> >> On 18 October 2017 at 12:39, Robson Pires <[email protected]> wrote: >> >>> What I meant is not log in via the login page. >>> >>> On Wednesday, 18 October 2017 12:26:40 UTC+2, Robson Pires wrote: >>>> >>>> Hi, >>>> >>>> I have a java application which has a web view, I am loading >>>> jupyter page inside of this view. I would like to know if there is a way to >>>> login everytime I load inside of my application, that way the user does not >>>> need to log in and go directly to the homepage. Is that any API or idea to >>>> achieve that? >>>> >>>> Thanks >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Project Jupyter" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/jupyter/3724dac9-0284-4ec1-bb88-f7ec6bb1848d%40googlegroups.com >>> <https://groups.google.com/d/msgid/jupyter/3724dac9-0284-4ec1-bb88-f7ec6bb1848d%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jupyter/0be7d9fa-4313-4367-8699-5a6b00ab9bc7%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/0be7d9fa-4313-4367-8699-5a6b00ab9bc7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qj3kBm7Wb0_U%3D_eQBzJanCum5AVYQFLaWqP%3DYioOW%3Dj3w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
