You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-12-01 22:51:45 +02:00
options bug fixes; set https cookies on by default
This commit is contained in:
@@ -29,7 +29,12 @@ type Options struct {
|
||||
}
|
||||
|
||||
func NewOptions() *Options {
|
||||
return &Options{}
|
||||
return &Options{
|
||||
HttpAddress: "127.0.0.1:4180",
|
||||
CookieHttpsOnly: true,
|
||||
PassBasicAuth: true,
|
||||
CookieExpire: time.Duration(168) * time.Hour,
|
||||
}
|
||||
}
|
||||
|
||||
func (o *Options) Validate() error {
|
||||
|
||||
Reference in New Issue
Block a user