macOS
brew install oauth2_proxylocal Homebrew formula metadata
sudo port install oauth2-proxyMacPorts ports tree · security/oauth2-proxy/Portfile · source: api.github.com
brew
Reverse proxy for authenticating users via OAuth 2 providers. Version 7.15.3 via Homebrew; verified 2026-07-04.
install
brew install oauth2_proxylocal Homebrew formula metadata
sudo port install oauth2-proxyMacPorts ports tree · security/oauth2-proxy/Portfile · source: api.github.com
sudo apk add oauth2-proxyAlpine Linux edge package indexes · oauth2-proxy · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#oauth2-proxynixpkgs package indexes · pkgs/by-name/oa/oauth2-proxy/package.nix · source: api.github.com
overview
Reverse proxy for authenticating users via OAuth 2 providers
history
OAuth2 Proxy is an authenticating reverse proxy and middleware component that protects web applications with OAuth2 and OpenID Connect login flows. It sits in front of applications that do not implement identity themselves and validates users by provider, email, domain, group, and related identity attributes.
The project descends from Bitly's oauth2_proxy. The maintained repository was forked from bitly/OAuth2_Proxy on November 27, 2018, with v3.0.0 and later coming from the fork. On March 29, 2020, the project moved from pusher/oauth2_proxy to oauth2-proxy/oauth2-proxy, and the binary naming and container image paths followed that rename.
OAuth2 Proxy became a common cloud-native building block because it lets teams add SSO in front of dashboards, admin apps, APIs, and legacy services without modifying the upstream application. CNCF lists OAuth2 Proxy as a Sandbox project accepted on October 2, 2025, which reflects its role as shared identity infrastructure rather than a single-vendor utility.
Operators deploy oauth2-proxy as a standalone reverse proxy or as an auth middleware integrated with Nginx auth_request, Kubernetes ingress-nginx, Traefik ForwardAuth, Envoy, and similar reverse-proxy stacks. It redirects unauthenticated users to providers such as Google, GitHub, Microsoft Entra ID, login.gov, or a generic OIDC provider, then forwards identity and token information to upstream services through headers when configured.
The project ships compiled binaries, container images, nightly images, and package-manager formulas. Configuration normally combines provider credentials, cookie/session settings, upstream routes, and reverse-proxy headers; larger OIDC sessions can use Redis-backed session storage.
OAuth2 Proxy is significant because it packages identity as a proxy executable: one binary can retrofit OAuth2/OIDC authentication onto applications, Kubernetes ingresses, and internal tools. Its history also mirrors open-source operations reality: a vendor-originated project, a community fork, an organizational rename, and eventual CNCF Sandbox governance.
security posture
formula declares a Homebrew service.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/oauth2-proxy.cfgexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
oauth2-proxy | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/oauth2-proxy/oauth2-proxy
install metadata
| Package key | brew:oauth2_proxy |
|---|---|
| Version | 7.15.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/oauth2_proxy |
| Homepage | https://oauth2-proxy.github.io/oauth2-proxy/ |
| Repository | https://github.com/oauth2-proxy/oauth2-proxy |
| Upstream docs | https://oauth2-proxy.github.io/oauth2-proxy |
| License | MIT |
| Source archive | https://github.com/oauth2-proxy/oauth2-proxy/archive/refs/tags/v7.15.3.tar.gz |
| Last updated | 2026-07-04T09:21:03Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | declared |
| Caveats | $HOMEBREW_PREFIX/etc/oauth2-proxy/oauth2-proxy.cfg must be filled in. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | oauth2_proxy |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
oauth2-proxy
nix profile install nixpkgs#oauth2-proxyoauth2-proxy 7.15.2-r1
Reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers
https://oauth2-proxy.github.io/oauth2-proxy
sudo apk add oauth2-proxyoauth2-proxy-openrc 7.15.2-r1
Reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers (OpenRC init scripts)
https://oauth2-proxy.github.io/oauth2-proxy
sudo apk add oauth2-proxy-openrcoauth2-proxy
sudo port install oauth2-proxysource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.