macOS
brew install oauth2_proxylocal Homebrew formula metadata
sudo port install oauth2-proxyMacPorts ports tree · security/oauth2-proxy/Portfile · 来源: api.github.com
安装
brew install oauth2_proxylocal Homebrew formula metadata
sudo port install oauth2-proxyMacPorts ports tree · security/oauth2-proxy/Portfile · 来源: api.github.com
sudo apk add oauth2-proxyAlpine Linux edge package indexes · oauth2-proxy · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#oauth2-proxynixpkgs package indexes · pkgs/by-name/oa/oauth2-proxy/package.nix · 来源: api.github.com
概览
Reverse proxy for authenticating users via OAuth 2 providers
历史
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.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.cfg可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
oauth2-proxy | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/oauth2-proxy/oauth2-proxy
安装元数据
| 软件包键 | brew:oauth2_proxy |
|---|---|
| 版本 | 7.15.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/oauth2_proxy |
| 主页 | https://oauth2-proxy.github.io/oauth2-proxy/ |
| 仓库 | https://github.com/oauth2-proxy/oauth2-proxy |
| 上游文档 | https://oauth2-proxy.github.io/oauth2-proxy |
| 许可证 | MIT |
| 源码归档 | https://github.com/oauth2-proxy/oauth2-proxy/archive/refs/tags/v7.15.3.tar.gz |
| 最后更新 | 2026-07-04T09:21:03Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
| 注意事项 | $HOMEBREW_PREFIX/etc/oauth2-proxy/oauth2-proxy.cfg must be filled in. |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-proxy来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.