Skip to content

Commit da293fa

Browse files
committed
Update authenticationhandler/auth_oauth.go to include scope in OAuth token request
1 parent 825687b commit da293fa

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)