OAuth2 Proxy

Authentication proxy that signs users in to Kubeflow through Keycloak.

Agentic Friendly

Component Category

Access and security / authentication proxy

Component Description

OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 and OpenID Connect. It handles the login flow through Keycloak and forwards authenticated requests to the upstream service.

BullSequana AI runs OAuth2 Proxy only as part of Kubeflow, where it signs users in to the Kubeflow web UI through Keycloak. There is no standalone platform OAuth2 Proxy component.

Why It Is Used

In BullSequana AI, OAuth2 Proxy extends the platform's single sign-on model to Kubeflow, whose UI does not sign users in through OIDC by itself. Kubeflow users then authenticate through the same Keycloak identity layer as the rest of the platform.

Learn More

Platform instances

InstanceProtectsKeycloak client IDTier
kubeflow-oauth2-proxyKubeflow web UIkubeflowproai

The Kubeflow instance is deployed with the Kubeflow component from its Kustomize manifests, not as a separate Helm release. BullSequana AI deploys OAuth2 Proxy v7.15.5 for this service.

Kubeflow instance

Signs users in to Kubeflow with Keycloak. The Kubeflow Istio ingress gateway asks it to check each request that has no Authorization header. Envoy Gateway asks it to check each ML Metadata (MLMD) request.

Data ingestion access

Data ingestion in Studio uses the Portal and BSQAI API authentication and authorization path. It has no separate OAuth2 Proxy instance or ingestion-UI Keycloak group. Access combines tenant membership, functional permissions and resource grants.

Deployment notes

The Kubeflow OAuth2 Proxy instance deploys in the kubeflow-oauth2-proxy namespace within the proai tier. It signs users in with the kubeflow Keycloak client, which the Kubeflow component enrolls through the standard SSO setup and cleanup jobs. A Gateway API HTTPRoute sends Kubeflow traffic to the Istio ingress gateway.

Interacts With

  • Keycloak, which provides the OIDC identity layer that OAuth2 Proxy authenticates against.
  • Kubeflow, whose web UI is protected by the kubeflow-oauth2-proxy instance.
  • Gateway API, which routes traffic to the OAuth2 Proxy endpoints.

On this page