Comments (3)
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.
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! π
from jupyterhub.
There's already an active discussion on this issue in https://discourse.jupyter.org/t/jupyterhub-try-to-make-preflight-request-to-shibboleth-idp/24853 so I'll close this to avoid duplication of effort.
from jupyterhub.
Some Updates, incase others search for same question and land on this page. : )
I found a not-so-great way to solve it, and it only works in Firefox.
Jupyterhub runs in /jupyterhub
subpage. In /jupyterhub
shibboleth session is deactivated, it only needs the user data/http headers for identifying Users. This means that /jupyterhub
is not protected by Shibboleth. Shibboleth Headers come from /secure
subpage. /secure
is for user login. As long as user is logged into /secure
, the user data is stored in browser. Subpath /jupyterhub
can therefore also read the user data/http headers.
The requests (to GET or PUT data into Single User Server) can therefore be sent directly to the single user server (Jupyterlab). Without sending to Shibboleth and check CORS premission first. However, this approach only works with Firefox.
Here is Apache Configuration:
<Location /secure>
AuthType shibboleth
ShibRequireSession On
Require valid-user
ShibUseHeaders On
<Location /jupyterhub>
RewriteEngine On
ProxyPreserveHost on
AuthType shibboleth
Require valid-user
ShibRequestSetting requireSession off
ShibUseHeaders On
ProxyPass http://jupyterhub:8000/jupyterhub
ProxyPassReverse http://jupyterhub:8000/jupyterhub
With Chrome, a 401 Unauthorized error occurs in Browser Log after spawning User Server.
from jupyterhub.
Related Issues (20)
- Send POST request to `/hub/spawn/` from a service does not work in 4.1.2 HOT 4
- CantΒ΄t open Notebook in a directory after activating jupyterlab-extention HOT 1
- 4.1.4: Admin access to another user's server results in '403: Forbidden' on the first attempt; works on subsequent attempts HOT 3
- How to Fix CVE-2024-28233 in 1.x HOT 2
- Can't open lab page under nginx reverse proxy (empty page) HOT 2
- api_request to the proxy failed with status code 504 HOT 3
- examples/service-whoami is broken in 4.1.5 HOT 2
- Support `ServerApp.allow_unauthenticated_access = False`
- Extend the `User` model with fields used by `jupyter-server` identity? HOT 1
- Can we initialise oauth_client when initialise JupyterLab, to support the case that Jupyter Api called when server not yet spawned HOT 3
- add migration documentation to release process HOT 2
- JupyterHub 5.0 HOT 2
- pagination total is not correct with named servers HOT 1
- Feature request: Launch server from CLI HOT 2
- v4.1.5: oauth redirect loop HOT 12
- `ValueError` thrown for external services in 5.0.0b1 (missing required `oauth_redirect_uri`)
- Broken login flow with user subdomains and external proxy on 5.0.0b1 HOT 4
- Migrate from jupyter_telemetry to jupyter_events? HOT 1
- Admin UI glitch - double pressing on "Next" page button causes bugged state HOT 4
- To fail more gracefully when failing to notify jupyterhub of activity HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterhub.