Our work:
We are integrating jupyterhub within our angular application using iframe.
Issue:
We changed jupyterhub config with jwt authenticator class (custom class) to enable token based authentication. We use our own service integrated with keycloak identifier to authenticate the users(to identify the users based on the token).
User authentication gets passed and the user lands in the profiling page. All works fine within iframe but when the user click start and observes that a new tab opens with by app host ie. https://host1.com/hub/spawn .
Expectation:
It should be load within the iframe instead of opening new page with jupyterhost url. https://jupyterhub.com/hub/spawn..
P.S any help to resolve the issue is appreciated. If there is any other better way to get our job done, please share those. Happy to hear the solutions.