Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix 安装 oauth2_proxy

查看 oauth2_proxy 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install oauth2_proxy

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install oauth2-proxy

MacPorts ports tree · security/oauth2-proxy/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add oauth2-proxy

Alpine Linux edge package indexes · oauth2-proxy · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#oauth2-proxy

nixpkgs package indexes · pkgs/by-name/oa/oauth2-proxy/package.nix · 来源: api.github.com

概览

软件包摘要

Reverse proxy for authenticating users via OAuth 2 providers

命令和别名

  • oauth2-proxy

历史

项目历史与用法

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.

时间线

  • 2017-09-29: oauth2-proxy/oauth2-proxy repository record was created on GitHub.
  • 2018-11-27: The maintained repository forked from bitly/OAuth2_Proxy.
  • 2020-03-29: The project was renamed from pusher/oauth2_proxy to oauth2-proxy/oauth2-proxy.
  • 2025-10-02: CNCF accepted OAuth2 Proxy at Sandbox maturity.
  • 2026-06-09: GitHub release v7.15.3 was published.

Related projects

  • OAuth2 Proxy is commonly paired with Nginx, ingress-nginx, Traefik, Envoy-style reverse proxies, Kubernetes, Redis session storage, and external identity providers. Related identity-layer projects include Dex, Pomerium, Authelia, Ory Oathkeeper, and cloud-provider access proxies.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/oauth2-proxy.cfg

可执行文件

已安装的可执行文件

命令类型暴露范围备注
oauth2-proxycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本7.15.3
管理器更新时间2026-07-04
本地数据OK
上游当前
检测到的最新版本v7.15.3

https://github.com/oauth2-proxy/oauth2-proxy

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameoauth2_proxy
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

oauth2-proxy

nix profile install nixpkgs#oauth2-proxy
  • normalized package name match
  • 匹配方式:Oauth2 Proxy
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/oa/oauth2-proxy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

oauth2-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-proxy
  • License: MIT
  • Architecture: x86_64
  • Source Package: oauth2-proxy
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Oauth2 Proxy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: oauth2-proxy from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

oauth2-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-openrc
  • License: MIT
  • Architecture: x86_64
  • Source Package: oauth2-proxy
  • normalized package name match
  • 匹配方式:Oauth2 Proxy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: oauth2-proxy-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
MacPorts95%

oauth2-proxy

sudo port install oauth2-proxy
  • normalized package name match
  • 匹配方式:Oauth2 Proxy
MacPorts ports tree · api.github.com · MacPorts ports tree: security/oauth2-proxy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment