When JupyterHub sets up the routes in the CHP and redirects the client to the JupyterLab endpoint after authentication, how does it get the token for the newly launched Jupyter Server?
1 Like
I am also struggling with this. In my case the token is missing and I’m trying to get it added.
1 Like
I’m not exactly sure what you’re asking, but there’s a technical description of the login process here:
https://jupyterhub.readthedocs.io/en/stable/reference/oauth.html
1 Like
The token is set using environment variables: Spawners — JupyterHub 2.3.1 documentation
It appears that the token is set by an environment variable: Spawners — JupyterHub 2.3.1 documentation