mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-09-30 03:31:27 +02:00
fix: boolean print and contrib example file
Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
server:
|
||||
bindAddress: "0.0.0.0:4180"
|
||||
cookie:
|
||||
secret: OQINaROshtE9TcZkNAm-5Zs2Pv3xaWytBmc5W7sPX7w=
|
||||
secure: false
|
||||
secret:
|
||||
value: OQINaROshtE9TcZkNAm-5Zs2Pv3xaWytBmc5W7sPX7w=
|
||||
insecure: true
|
||||
providers:
|
||||
- id: oidc
|
||||
provider: oidc
|
||||
|
||||
+1
-1
@@ -182,7 +182,7 @@ func NewOAuthProxy(opts *options.Options, validator func(string) bool) (*OAuthPr
|
||||
refresh = fmt.Sprintf("after %s", opts.Session.Refresh)
|
||||
}
|
||||
|
||||
logger.Printf("Cookie settings: name:%s insecure(http):%v scriptaccess:%v expiry:%s domains:%s path:%s samesite:%s refresh:%s", opts.Cookie.Name, opts.Cookie.Insecure, opts.Cookie.ScriptAccess, opts.Cookie.Expire, strings.Join(opts.Cookie.Domains, ","), opts.Cookie.Path, opts.Cookie.SameSite, refresh)
|
||||
logger.Printf("Cookie settings: name:%s insecure(http):%v scriptaccess:%v expiry:%s domains:%s path:%s samesite:%s refresh:%s", opts.Cookie.Name, *opts.Cookie.Insecure, opts.Cookie.ScriptAccess, opts.Cookie.Expire, strings.Join(opts.Cookie.Domains, ","), opts.Cookie.Path, opts.Cookie.SameSite, refresh)
|
||||
|
||||
trustedIPs := ip.NewNetSet()
|
||||
for _, ipStr := range opts.TrustedIPs {
|
||||
|
||||
Reference in New Issue
Block a user