command
module
Version:
v0.0.0-...-49ea2a4
Opens a new window with list of versions in this module.
Published: May 16, 2022
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
oauth-proxy
A proxy server with OAuth2 authentication (via Github).
How to run
Use docker compose:
version: '2.4'
services:
oauth-proxy:
build: .
restart: always
ports:
- 80:80
environment:
GH_CLIENT_ID: my-client-id
GH_CLIENT_SECRET: my-client-secret
GH_USERS: my-user-1, my-user-2, my-user-3
BACKEND_URL: http://my-backend:80
PUBLIC_URL: http://my-server.com
Parameters
Env variable |
Default value |
Description |
GH_CLIENT_ID |
|
Github client ID |
GH_CLIENT_SECRET |
|
Github client secret |
GH_USERS |
|
Comma-separated list of Github users |
BACKEND_URL |
|
Backend URL |
LISTEN_ADDR |
0.0.0.0:80 |
HTTP endpoint to listen |
PUBLIC_URL |
|
Public URL |
License
MIT
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.