diff --git a/pkg/services/oauthtoken/oauth_token.go b/pkg/services/oauthtoken/oauth_token.go index 44fe279f630..284393cd455 100644 --- a/pkg/services/oauthtoken/oauth_token.go +++ b/pkg/services/oauthtoken/oauth_token.go @@ -392,7 +392,7 @@ func (o *Service) tryGetOrRefreshOAuthToken(ctx context.Context, persistedToken if o.Cfg.Env == setting.Dev { ctxLogger.Debug("Oauth got token", - "auth_module", usr.GetAuthID(), + "auth_module", usr.GetAuthenticatedBy(), "expiry", fmt.Sprintf("%v", token.Expiry), "access_token", fmt.Sprintf("%v", token.AccessToken), "refresh_token", fmt.Sprintf("%v", token.RefreshToken),