I developed a Jupyterlab server extension that allows a user to open a Jupyter Notebook with pre-populated code provided either in base64 format or as the URL of an external publicly available notebook file (more info at https://github.com/Navteca/oss-pasarela).
The first time the user logs into JupyterHub he gets a 403: Forbidden error, but if the user is previously logged in the extension runs successfully. Checking the log the extension is not reached after the user logs in, it is only executed if the user is already logged in.
I’m using /user-redirect/ to set up the path to the extension to be executed by jupyterhub.
Any help please.