talira

OAuth2 Proxy

Problems OAuth2 Proxy solves

All 20 problems from OAuth2 Proxy's listing.

  • put a Google or GitHub login in front of an internal web app that has no authentication of its own
  • only let people with our company email domain reach the staging site
  • protect Prometheus, Grafana and other admin dashboards with single sign-on from our Okta or Entra ID
  • add OIDC login to an nginx site with auth_request without changing the app
  • Traefik forward auth middleware that sends users to our identity provider
  • restrict a Kubernetes dashboard to members of one GitHub team or GitLab group
  • pass the signed-in user's email and groups to my legacy app as HTTP headers
  • my app can trust an X-Forwarded-User header if something in front of it handles the login
  • self-hosted alternative to Google Identity-Aware Proxy or Cloudflare Access
  • secure an internal tool behind Keycloak without adding an OAuth library to its code
  • one login cookie that covers several subdomains behind the same proxy
  • let API clients with a valid JWT bearer token through while browsers get the login page
  • skip authentication for a health check path but require login everywhere else
  • add login to a static documentation site served from a folder
  • store login sessions in Redis because the cookie gets too big with our identity provider's tokens
  • protect Headlamp or the Kubernetes Dashboard with our company's single sign-on
  • authentication sidecar for a Kubernetes service installed with a Helm chart
  • gate a homelab app with Google sign-in and an allow list of email addresses
  • use login.gov as the identity provider for a government web app
  • an htpasswd username and password fallback next to OAuth sign-in for a few service accounts

Back to OAuth2 Proxy