Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Bypass the Login page in jupyterhub or redirecting to Home Page by providing the token in URL like JupyterNotebook #4445

Open
ravitejapagala opened this issue May 8, 2023 · 2 comments
Labels

Comments

@ravitejapagala
Copy link

Hi I have a requirement to integrate the JupyterHub into My existing application.

User Will login into my Main application . User no need to login again in JupyterHub as I am providing a Button "Open In JupyterHub".
Then it will automatically redirect to JupyterHub Home Page instead of Login Page.

I tried by configuring the Dummy Authenticator where Username and password and Disabling the Login mechanism by adding c.Authenticator.auto_login = True still it is Not Redirecting to Home Page.

@welcome
Copy link

welcome bot commented May 8, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@minrk
Copy link
Member

minrk commented Jun 2, 2023

You would need to write a custom Authenticator with a login handler that takes some information you've provided (e.g. via a request header or some such. It should be signed or the origin of the request strictly validated) and then log in. https://github.com/jupyterhub/tmpauthenticator is an example. If you have some other auth mechanism, you'll need some way

Alternately, you can use JupyterHub in "api-only mode" where you actually launch servers yourself and give users a URL to their server with a token for authentication, where your users never interact with JupyterHub at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants