fix: boolean print and contrib example file
Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
parent
6ac03bcad6
commit
d29b846052
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -180,7 +180,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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue