head to head · open source
oauth2-proxy vs openvpn-auth-oauth2
oauth2-proxy has 15,422 GitHub stars, 2,277 forks, 285 open issues and last shipped 2 days ago. openvpn-auth-oauth2 has 531 stars, 68 forks, 1 open issues and last shipped 2 days ago. oauth2-proxy leads on adoption by 2,804% (15,422 vs 531 stars). oauth2-proxy is written in Go under MIT; openvpn-auth-oauth2 is written in Go under MIT. oauth2-proxy has attracted 15% as many forks as stars, openvpn-auth-oauth2 13%. openvpn-auth-oauth2 was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 3 topic tags (oauth2, oidc, sso), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| oauth2-proxy | openvpn-auth-oauth2 | |
|---|---|---|
| GitHub stars | ★ 15K | ★ 531 |
| License | MIT | MIT |
| Written in | Go | Go |
| Last push | 2026-11-30 | 2026-11-30 |
| Forks | ⑂ 2.3K | ⑂ 68 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick oauth2-proxy if
- You weight community size — 15K stars and counting
- You want the MIT license terms
- Your stack matches Go
- You value the larger contributor base for long-term maintenance
pick openvpn-auth-oauth2 if
- You want the openvpn-auth-oauth2 feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Go
- You evaluated both and openvpn-auth-oauth2 fits your workflow better
About oauth2-proxy
OAuth2 Proxy is a flexible, open source tool that can act as either a standalone reverse proxy or a middleware component integrated into existing reverse proxy or load balancer setups. It provides a simple and secure way to protect your web applications with OAuth2 / OIDC authentication. As a reverse proxy, it intercepts requests to your application and redirects users to an OAuth2 provider for authentication. As a middleware, it can be seamlessly integrated into your existing infrastructure to handle authentication for multiple applications. OAuth2 Proxy supports a lot of OAuth2 as well as OIDC providers…
read the full oauth2-proxy overview →
About openvpn-auth-oauth2
openvpn auth oauth2 ⭐ Don't forget to star this repository! ⭐ Adopters and Users Are you using openvpn auth oauth2 in production or as part of your infrastructure? Share your experience and help others understand how openvpn auth oauth2 is used in real world environments. You can find existing users and success stories in ADOPTERS.md. If you are using openvpn auth oauth2, feel free to add your organization or a short success story through a pull request. About openvpn auth oauth2 is a management client for OpenVPN that handles the single sign on (SSO) authentication against various OIDC providers. This project…
read the full openvpn-auth-oauth2 overview →
More in Security & Privacy
Related comparisons
More Identity & Access Management (IAM) projects
Compare either of these against the rest of the Identity & Access Management (IAM) field.
Frequently asked questions
Is oauth2-proxy or openvpn-auth-oauth2 more popular?
oauth2-proxy has 15,422 GitHub stars and openvpn-auth-oauth2 has 531. oauth2-proxy has the larger community by that measure.
Are oauth2-proxy and openvpn-auth-oauth2 free?
Both are open source. oauth2-proxy is licensed under MIT and openvpn-auth-oauth2 under MIT. Neither carries a licence fee.
What is the difference between oauth2-proxy and openvpn-auth-oauth2?
oauth2-proxy is written in Go and openvpn-auth-oauth2 in Go. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, oauth2-proxy or openvpn-auth-oauth2?
Choose oauth2-proxy if you want the larger community (15,422 stars) or its MIT licence terms. Choose openvpn-auth-oauth2 if its feature set, stack or MIT licence fits better. Both are self-hostable.