qmetrics.net

OAuth2 Proxy

OAuth2 and OIDC reverse proxy authentication

OAuth2 Proxy screenshot

OAuth2 Proxy sits before web apps as reverse proxy or middleware, sends users through OAuth2 or OIDC login, supports many identity providers, and can forward user details to upstream apps as headers

Overview

OAuth2 Proxy protects HTTP applications by intercepting requests, performing provider authentication, and only allowing validated users through to upstream services. It can run as its own reverse proxy or integrate with existing reverse proxies and load balancers to centralize login for multiple apps.

Provider support spans generic OIDC clients plus tailored integrations for vendors such as Google, Microsoft Entra ID, GitHub, and login.gov, enabling extraction of usernames, groups, and related claims. Operators validate access by email, domain, or group rules depending on configuration.

Distribution includes compiled binaries for many CPU architectures and container images, with stable tags on quay.io and optional Alpine-based variants. Documentation covers installation, example layouts, and security reporting practices for the CNCF sandbox project.

The component is deployed as infrastructure software you configure with provider credentials, cookie secrets, upstream URLs, and header forwarding rules rather than as a library inside application code.

Key features

  • Standalone or middleware deployment
  • OAuth2 and OIDC providers
  • Email domain and group checks
  • User claims forwarded as headers
  • Binary and container releases
  • Generic OIDC client mode
  • Provider-specific integrations
  • Static file serving option

Use cases

  • SSO in front of internal apps
  • Protecting admin dashboards
  • Header-based identity to upstreams
  • Kubernetes ingress authentication
  • Multi-app login centralization

Tags

Similar software

Keycloak

Identity and access management for applications and services

Keycloak adds authentication and single sign-on to applications so they do not store or verify users themselves. It supports standard protocols and central admin tools.

  • Single sign-on across applications
  • OpenID Connect, OAuth 2.0, and SAML
  • Social login and identity brokering
JavaDockerDetails →
★ 38.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+7

JumpServer

Open-source bastion host for privileged access

JumpServer is a privileged access management platform that unifies secure access to SSH, RDP, Kubernetes, databases, and web assets.

  • SSH and RDP session access
  • Kubernetes pod connections
  • Database connector via web
PythonWeb, Linux, DockerDetails →
★ 32.1k⟳ todayGPL-3.0
Open Source Alternative to:BeyondTrust

Better Auth

Composable TypeScript authentication and authorization framework

Better Auth is a framework-agnostic authentication and authorization framework for TypeScript. You configure it in code and extend it with plugins for flows like social login, organizations, and enterprise SSO.

  • TypeScript auth configuration in code
  • Email and password sessions
  • Social OAuth providers
TypeScriptDetails →
★ 31k⟳ todayMIT
Open Source Alternative to:Amazon CognitoAuth0+3

Authelia

Self-hosted SSO portal with multi-factor authentication

Authentication and authorization server that sits in front of reverse proxies. Provides a web portal for login, OpenID Connect, and granular access rules with several second-factor methods.

  • OpenID Connect and OAuth 2.0 provider
  • WebAuthn passkeys and FIDO2 keys
  • TOTP and Duo push second factors
GoWeb, DockerDetails →
★ 29.8k⟳ 2 days agoApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+7

Auth.js

Web authentication libraries for JavaScript frameworks

Auth.js (NextAuth) adds sign-in, sessions, and OAuth to modern JavaScript apps. Packages target Next.js, SvelteKit, Express, Qwik, and other runtimes.

  • OAuth 2.0 and OIDC providers
  • Email and passwordless sign-in
  • WebAuthn passkey support
TypeScriptDetails →
★ 28.4k⟳ 4 months agoISC
Open Source Alternative to:Amazon CognitoAuth0+4

authentik

Self-hosted identity provider for SSO protocols

authentik centralizes authentication with SAML, OAuth2, OIDC, LDAP, RADIUS, and related flows. It targets small labs through production clusters you deploy yourself.

  • SAML and OAuth2/OIDC
  • LDAP and RADIUS
  • Application proxy
PythonDockerDetails →
★ 26.6k⟳ todayMIT · open core
Open Source Alternative to:Amazon CognitoAuth0+7