[![CI](https://github.com/jkroepke/openvpn-auth-oauth2/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/jkroepke/openvpn-auth-oauth2/actions/workflows/ci.yaml) [![GitHub license](https://img.shields.io/github/license/jkroepke/openvpn-auth-oauth2)](https://github.com/jkroepke/openvpn-auth-oauth2/blob/master/LICENSE.txt) [![Current Release](https://img.shields.io/github/release/jkroepke/openvpn-auth-oauth2.svg?logo=github)](https://github.com/jkroepke/openvpn-auth-oauth2/releases/latest) [![GitHub Repo stars](https://img.shields.io/github/stars/jkroepke/openvpn-auth-oauth2?style=flat&logo=github)](https://github.com/jkroepke/openvpn-auth-oauth2/stargazers) [![GitHub all releases](https://img.shields.io/github/downloads/jkroepke/openvpn-auth-oauth2/total?logo=github)](https://github.com/jkroepke/openvpn-auth-oauth2/releases/latest) [![codecov](https://codecov.io/gh/jkroepke/openvpn-auth-oauth2/graph/badge.svg?token=66VT000UYO)](https://codecov.io/gh/jkroepke/openvpn-auth-oauth2)

openvpn-auth-oauth2 logo

# openvpn-auth-oauth2 ⭐ Don't forget to star this repository! ⭐ ## About [`openvpn-auth-oauth2`](https://github.com/jkroepke/openvpn-auth-oauth2) is a management client for OpenVPN that handles the single sign-on (SSO) authentication against various OIDC providers. This project aims to simplify the process of integrating OpenVPN with OIDC providers such as * Microsoft Entra ID (Azure AD) * GitHub * Okta * Google Workspace * Authentik * Zitadel * DigitalOcean * Keycloak * [... any other OIDC compatible auth server](https://github.com/jkroepke/openvpn-auth-oauth2/wiki/Providers) ## Getting Started - Check the [OpenVPN server and client requirements](https://github.com/jkroepke/openvpn-auth-oauth2/wiki/OpenVPN). - Try the project locally with the [Docker Compose demo](https://github.com/jkroepke/openvpn-auth-oauth2/wiki/Demo). - Follow [Getting Started](https://github.com/jkroepke/openvpn-auth-oauth2/wiki/Getting-Started) for a first deployment. The complete wiki is organized by task and remains available from the [documentation home](https://github.com/jkroepke/openvpn-auth-oauth2/wiki). OpenVPN can connect through the stable plugin on Linux AMD64, Linux ARM64, and FreeBSD AMD64, or directly through its management interface. The [Getting Started guide](https://github.com/jkroepke/openvpn-auth-oauth2/wiki/Getting-Started#4-choose-the-openvpn-integration) compares both supported options. ## Installation For package and source-build options, see the [Installation Guide](https://github.com/jkroepke/openvpn-auth-oauth2/wiki/Installation). ### Downstream Packages [![Packaging status](https://repology.org/badge/vertical-allrepos/openvpn-auth-oauth2.svg)](https://repology.org/project/openvpn-auth-oauth2/versions) ## Configuration For information on how to configure `openvpn-auth-oauth2`, please refer to the [Configuration Guide](https://github.com/jkroepke/openvpn-auth-oauth2/wiki/Configuration). ## OpenVPN Version Requirements For information on the OpenVPN version requirements, please refer to the [OpenVPN Guide](https://github.com/jkroepke/openvpn-auth-oauth2/wiki/OpenVPN). ## Related Projects - [openvpn-auth-aad](https://github.com/CyberNinjas/openvpn-auth-aad) - [openvpn-oidc](https://github.com/vitaliy-sn/openvpn-oidc) - [openvpn-auth-azure-ad](https://github.com/jkroepke/openvpn-auth-azure-ad) ## Contributing See the [contributing guide](CONTRIBUTING.md) to propose and submit changes. ## License This project is licensed under the [MIT License](LICENSE.txt). ## Open Source Sponsors Thanks to all sponsors! * [@hegawa](https://github.com/hegawa) (25$) onetime * [@Zero-Down-Time](https://github.com/Zero-Down-Time) (25$) onetime * [@k0ste](https://github.com/k0ste) (25$) onetime ## Acknowledgements Thanks to JetBrains IDEs and Sparklabs for their support.
JetBrains IDEs Sparklabs Rafael Alex (Logo Design)

Sparklabs Viscosity logo

Sparklabs Viscosity logo