pkg.soopen package index

brew / rank 4652

Install oauth2_proxy with Homebrew, apk, MacPorts, Nix

Reverse proxy for authenticating users via OAuth 2 providers. Version 7.15.3 via Homebrew; verified 2026-07-27. Also installable with nix: nix profile install nixpkgs#oauth2-proxy.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install oauth2_proxy

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install oauth2-proxy

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

Linux

Alpine Linux apkverified · 92%
sudo apk add oauth2-proxy

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

Nixverified · 92%
nix profile install nixpkgs#oauth2-proxy

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

overview

Package summary

Reverse proxy for authenticating users via OAuth 2 providers

Commands and aliases

  • oauth2-proxy

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: orange

formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service

Signals

  • metadata:service

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
oauth2-proxyexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version7.15.3
manager updated2026-07-27
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:oauth2_proxy
Version7.15.3
Package managerHomebrew
Homepagehttps://oauth2-proxy.github.io/oauth2-proxy/
Repositoryhttps://github.com/oauth2-proxy/oauth2-proxy
Last updated2026-07-27T23:46:49+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

oauth2-proxy

nix profile install nixpkgs#oauth2-proxy
  • normalized package name match
  • Matched by: 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-r2

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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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-r2

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
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation