File tree 2 files changed +2
-0
lines changed
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ func main() {
92
92
oauthProxyOpts .Cookie .Name = "obot_access_token"
93
93
oauthProxyOpts .Cookie .Secret = string (cookieSecret )
94
94
oauthProxyOpts .Cookie .Secure = strings .HasPrefix (opts .ObotServerURL , "https://" )
95
+ oauthProxyOpts .Cookie .CSRFExpire = 30 * time .Minute
95
96
oauthProxyOpts .Templates .Path = os .Getenv ("GPTSCRIPT_TOOL_DIR" ) + "/../auth-providers-common/templates"
96
97
oauthProxyOpts .RawRedirectURL = opts .ObotServerURL + "/"
97
98
if opts .AuthEmailDomains != "" {
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ func main() {
70
70
oauthProxyOpts .Cookie .Name = "obot_access_token"
71
71
oauthProxyOpts .Cookie .Secret = string (bytes .TrimSpace (cookieSecret ))
72
72
oauthProxyOpts .Cookie .Secure = strings .HasPrefix (opts .ObotServerURL , "https://" )
73
+ oauthProxyOpts .Cookie .CSRFExpire = 30 * time .Minute
73
74
oauthProxyOpts .Templates .Path = os .Getenv ("GPTSCRIPT_TOOL_DIR" ) + "/../auth-providers-common/templates"
74
75
oauthProxyOpts .RawRedirectURL = opts .ObotServerURL + "/"
75
76
if opts .AuthEmailDomains != "" {
You can’t perform that action at this time.
0 commit comments