@@ -55,6 +55,11 @@ func NewOauthProxy(opts *Options, validator func(string) bool) *OauthProxy {
5555 redirectUrl.Path = oauthCallbackPath
5656
5757 log.Printf("OauthProxy configured for %s", opts.ClientID)
58+ domain := opts.CookieDomain
59+ if domain == "" {
60+ domain = "<default>"
61+ }
62+ log.Printf("Cookie settings: https_only: %v expiry: %s domain:%s", opts.CookieHttpsOnly, opts.CookieExpire, domain)
5863 return &OauthProxy{
5964 CookieKey: "_oauthproxy",
6065 CookieSeed: opts.CookieSecret,
@@ -229,10 +234,12 @@ func (p *OauthProxy) SignInPage(rw http.ResponseWriter, req *http.Request, code
229234 SignInMessage string
230235 Htpasswd bool
231236 Redirect string
237+ Version string
232238 }{
233239 SignInMessage: p.SignInMessage,
234240 Htpasswd: p.HtpasswdFile != nil,
235241 Redirect: req.URL.RequestURI(),
242+ Version: VERSION,
236243 }
237244 templates.ExecuteTemplate(rw, "sign_in.html", t)
238245}