better environment parsing

This commit is contained in:
Jehiah Czebotar
2014-11-09 21:12:36 -05:00
parent 01969eebdc
commit 9060feb436
7 changed files with 56 additions and 33 deletions
+1
View File
@@ -54,6 +54,7 @@ func NewOauthProxy(opts *Options, validator func(string) bool) *OauthProxy {
redirectUrl := opts.redirectUrl
redirectUrl.Path = oauthCallbackPath
log.Printf("OauthProxy configured for %s", opts.ClientID)
return &OauthProxy{
CookieKey: "_oauthproxy",
CookieSeed: opts.CookieSecret,