From 3f9a29cbc2d509e8b1480e0b01fcad045206077c Mon Sep 17 00:00:00 2001 From: Pavel Merzlyakov Date: Wed, 16 Nov 2022 01:21:50 +0300 Subject: [PATCH] more logs --- oauth2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth2.go b/oauth2.go index da0b5d5..ab1eeb4 100644 --- a/oauth2.go +++ b/oauth2.go @@ -80,7 +80,7 @@ func (tr *TokenRetriever) Retrieve(ctx context.Context, data url.Values) (Token, } req.Header.Set("Content-Type", "application/x-www-form-urlencoded") - tr.logger.Infof("retrieve token with request: %+v", req) + tr.logger.Infof("retrieve token with request: %+v, body: %+v", req, data.Encode()) resp, err := tr.httpClient.Do(req) if err != nil {