OAuth2 middleware proxy for Rancher stacks
https://github.com/bitly/oauth2_proxy https://hub.docker.com/r/a5huynh/oauth2_proxy/
Installs a OAuth2 proxy for a given stack using a rancher DNS hostname to map the upstream service. Useful for providing a oauth layer in between the application and the Traefik proxy for Rancher.
python up.py -s mystack -u myapplication.mystack -p 8080 www.example.com
Use an environment file to define OAUTH_DOMAIN
and OAUTH_CONFIG
for the Traefik proxy domain and configuration file directory respectively. The configuration directory should contain the file oauth2_proxy.cfg
.
This repository also contains a Google inspired login landing page for using a Google account backend.