Ansible role for configuring oauth2_proxy Docker container https://github.com/pusher/oauth2_proxy
Go to file
Jakub Sokołowski 05ef1410ab
drop adding iptables rule for opening oauth port
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-16 11:06:54 +02:00
defaults drop adding iptables rule for opening oauth port 2021-08-16 11:06:54 +02:00
meta add role files 2020-02-03 11:26:03 +01:00
tasks drop adding iptables rule for opening oauth port 2021-08-16 11:06:54 +02:00
README.md drop adding iptables rule for opening oauth port 2021-08-16 11:06:54 +02:00

README.md

Description

This role configures an oauth2_proxy container for GitHub based OAuth.

Configuration

These settings are all mandatory:

oauth_domain: 'oauth.example.org'
oauth_cont_name: 'some-container-name-oauth'
oauth_upstream_cont: 'some-container-name'
oauth_upstream_port: 4321
oauth_local_port: 1234
oauth_cookie_secret: '123qweASD'
oauth_id: 'some-id'
oauth_secret: 'some-secret'

The oauth_upstream_cont is optional. If not set the Docker host IP will be used as upstream.