You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of #230 we use our own "StaticHandler" to serve the static files (i.e. the Cylc UI).
This approach has it's caveats:
Redirection to hub login pages doesn't work for static paths.
Another redirection used to "authorise" Jupyter Hub to see your credentials (which can then be used for authentication) also doesn't work.
The Jupyter Server way is to provide the path to these files to the server and have the server's own handler do the leg work.
I had a go at this, however, ran into issues. Tornado doesn't like you overriding its get method to patch in authentication (which would allow redirection to the Hub login pages). I think my issues may have been related to https://github.com/jupyter-server/jupyter_server/issues/ 551?
Pull requests welcome!
The text was updated successfully, but these errors were encountered:
* Closescylc#231
* Provide our own static handler rather than using Jupyter Server.
* This is because we are not using the same template/static resource approach.
* We would have to edit URLs in the UI to point at `static/cylc/*`.
* Adding authentication here provides login redirection.
follow on from: #230
As of #230 we use our own "StaticHandler" to serve the static files (i.e. the Cylc UI).
This approach has it's caveats:
The Jupyter Server way is to provide the path to these files to the server and have the server's own handler do the leg work.
I had a go at this, however, ran into issues. Tornado doesn't like you overriding its
get
method to patch in authentication (which would allow redirection to the Hub login pages). I think my issues may have been related to https://github.com/jupyter-server/jupyter_server/issues/ 551?Pull requests welcome!
The text was updated successfully, but these errors were encountered: