Skip to content

Commit 7540214

Browse files
authored
Merge pull request #153 from deploymenttheory/dev
Update authenticationhandler/auth_oauth.go to include scope in OAuth …
2 parents 1f2561b + da293fa commit 7540214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

authenticationhandler/auth_oauth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (h *AuthTokenHandler) ObtainOAuthToken(apiHandler apihandler.APIHandler, ht
4848
data.Set("scope", oauthTokenScope)
4949
data.Set("grant_type", "client_credentials")
5050

51-
h.Logger.Debug("Attempting to obtain OAuth token", zap.String("ClientID", clientID))
51+
h.Logger.Debug("Attempting to obtain OAuth token", zap.String("ClientID", clientID), zap.String("Scope", oauthTokenScope))
5252

5353
req, err := http.NewRequest("POST", authenticationEndpoint, strings.NewReader(data.Encode()))
5454
if err != nil {

0 commit comments

Comments
 (0)