Skip to content

Commit

Permalink
increase read timeout on auth for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
joelrebel committed Aug 3, 2023
1 parent 1fc211b commit 0dfee6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/auth/oauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (a *authenticator) authCodePKCE(oauthConfig *oauth2.Config, audience string
})

// nolint:gomnd // read header timeout is set to 30s
server := &http.Server{Addr: ":18000", ReadHeaderTimeout: time.Second * 30, Handler: mux}
server := &http.Server{Addr: ":18000", ReadHeaderTimeout: time.Second * 100, Handler: mux}

go func() {
if err := server.ListenAndServe(); err != nil {
Expand Down

0 comments on commit 0dfee6f

Please sign in to comment.