I want to embed Jupyter in my site’s iFrame. When user navigates to the page, my server is called and perform:
- get user details (as user authenticated)
- use JupyterHub REST API to create user(if not exists), get the token, start server
- redirect the iFrame to the user’s notebook with the token
After playing with HTTP headers all seems works fine.
I have notice that if user in my site see the iFrame url, it is possible to add some fake user in JupyterHub using UI login page, as i didn’t use any authentication the default one is activated.
My question: is it possible to deactivate UI login page, so it will be possible to add new users via REST API only?