Files
floci/docs
Priamo Germosen ac844769fb feat(emr-containers): let a browser's CORS preflight reach a managed endpoint's gateway (#9283)
A browser sends its CORS preflight (OPTIONS) without the session token,
and Jupyter Enterprise Gateway 2.6.0's TokenAuthorizationMixin checks
none for it ("if server_token and not self.request.method ==
'OPTIONS'"). Floci's proxy asked one of every request, so a preflight
to a managed endpoint's serverUrl got 401.

- SessionServers.routeWithoutToken routes a call that carries no token
  to a running server, in that server's own account and Region, as a
  call of its session: empty where no server runs, refused while the
  owner refuses calls.
- EmrContainersService.gatewayPreflightRoute is that route for an
  endpoint's gateway, and the proxy takes it for an OPTIONS request,
  passing the gateway no session header. An endpoint with no gateway
  running still answers 401, one that is not ACTIVE 503.
- The nightly check sends a preflight without a token and gets the
  gateway's 200 with its Access-Control-Allow-Methods.
2026-11-23 12:25:11 -04:00
..
2026-03-15 17:43:56 -05:00