Hi ,
I am trying to open jupyterhub via my web application by providing hub url in iframe.
I have added below properties in jupyterhub_config.py
c.JupyterHub.tornado_settings = {“headers”:{“Access-Control-Allow-Origin”:" * ", “Content-Security-Policy”:“frame-ancestors * any”}}
c.Spawner.args = [’–NotebookApp.allow_origin= * ', ‘–NotebookApp.tornado_settings={“headers”:{“Content-Security-Policy”:"frame-ancestors * self "}}’]
If my web application and hub both are hosted on same node then I am able to access hub via iframe within my web application.
But if web application and hub are hosted on different nodes then it is not working .
Can anyone help me here if I am missing any configuration.
It would be a great help.