Skip to content
Advertisement

Display IFrame IPython with custom auth headers

I am developing a JupyterLab Notebook and I need to embed a website for interaction with a dashboard from within the same notebook. This would be quite straight-forward using an IFrame.

However, to access this website, that I launch on my public server, JWT authentication is required so I need to send an additional header with the token. Which is the best way to do this? I am not familiar with HTML and JS so I am wondering where to start from.

Thanks a lot for your help!

Advertisement

Answer

Finally, I solved this issue by sending the token in the URL params using SSL traffic.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement