Skip to content

Commit 01117da

Browse files
authored
Merge pull request #164 from Avanade/162-increase-timeout
162 increase timeout
2 parents 4968bc8 + 48668a6 commit 01117da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goapp/service/authenticator/authenticator-service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (a *authenticatorService) ClearFromSession(w *http.ResponseWriter, r *http.
106106
func (a *authenticatorService) GenerateToken() (string, error) {
107107
urlPath := fmt.Sprintf("https://login.microsoftonline.com/%s/oauth2/v2.0/token", a.Config.GetTenantID())
108108
client := &http.Client{
109-
Timeout: time.Second * 10,
109+
Timeout: time.Second * 90,
110110
}
111111

112112
data := url.Values{}

0 commit comments

Comments
 (0)