git.iko.soy/typeable/oauth2-proxy
on v1.1 help sign in
typeable/oauth2-proxy/contrib/google_auth_proxy.cfg.example
57 lines 1.7 kB history raw
1## Google Auth Proxy Config File
2## https://github.com/bitly/google_auth_proxy
4## <addr>:<port> to listen on for HTTP clients
5# http_address = "127.0.0.1:4180"
7## the OAuth Redirect URL.
8# defaults to the "https://" + requested host header + "/oauth2/callback"
9# redirect_url = "https://internalapp.yourcompany.com/oauth2/callback"
11## the http url(s) of the upstream endpoint. If multiple, routing is based on path
12# upstreams = [
13# "http://127.0.0.1:8080/"
14# ]
16## Log requests to stdout
17# request_logging = true
19## pass HTTP Basic Auth, X-Forwarded-User and X-Forwarded-Email information to upstream
20# pass_basic_auth = true
21## pass the request Host Header to upstream
22## when disabled the upstream Host is used as the Host Header
23# pass_host_header = true
25## Google Apps Domains to allow authentication for
26# google_apps_domains = [
27# "yourcompany.com"
28# ]
31## The Google OAuth Client ID, Secret
32# client_id = "123456.apps.googleusercontent.com"
33# client_secret = ""
35## Authenticated Email Addresses File (one email per line)
36# authenticated_emails_file = ""
38## Htpasswd File (optional)
39## Additionally authenticate against a htpasswd file. Entries must be created with "htpasswd -s" for SHA encryption
40## enabling exposes a username/login signin form
41# htpasswd_file = ""
43## Templates
44## optional directory with custom sign_in.html and error.html
45# custom_templates_dir = ""
48## Cookie Settings
49## Secret - the seed string for secure cookies
50## Domain - optional cookie domain to force cookies to (ie: .yourcompany.com)
51## Expire - expire timeframe for cookie
52# cookie_secret = ""
53# cookie_domain = ""
54# cookie_expire = "168h"
55# cookie_secure = true
56# cookie_httponly = true