Skip to content

A reverse proxy that provides authentication with Google, Github or other providers.

License

Notifications You must be signed in to change notification settings

rustyx/oauth2_proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth2 Proxy

Build Status

A reverse proxy and static file server that provides authentication using Providers (Google, GitHub, and others) to validate accounts by email, domain or group.

Note: This repository is a fork of oauth2-proxy/oauth2-proxy that adds the subdomain routing feature, which is configurable in the Upstream Configuration.

test |http://127.0.0.1:8082/
other|http://127.0.0.1:8083/
other|http://127.0.0.1:8084/path/
     |http://127.0.0.1:8085/

A list of changes can be seen in the CHANGELOG.

Sign In Page

Installation

  1. Choose how to deploy:

    a. Build with go get github.com/rustyx/oauth2_proxy which will put the binary in $GOROOT/bin

    b. Using the prebuilt docker image rustyx/oauth2_proxy (Linux AMD64)

  2. Select a Provider and Register an OAuth Application with a Provider

  3. Configure OAuth2 Proxy using config file, command line options, or environment variables

  4. Configure SSL or Deploy behind a SSL endpoint (example provided for Nginx)

Security

If you are running a version older than v5.0.0 we strongly recommend you please update to a current version. RE: open redirect vulnverability

Docs

OAuth2 Proxy Architecture

Configuration

About

A reverse proxy that provides authentication with Google, Github or other providers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.4%
  • Other 1.6%