From 3be6175aec495c7e78a630bc5294c01128a9b487 Mon Sep 17 00:00:00 2001 From: Luis Pater Date: Mon, 13 Oct 2025 09:12:45 +0800 Subject: [PATCH] chore(auth): add debug log for iflow token response body --- internal/auth/iflow/iflow_auth.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/auth/iflow/iflow_auth.go b/internal/auth/iflow/iflow_auth.go index f8480f19..efac49b8 100644 --- a/internal/auth/iflow/iflow_auth.go +++ b/internal/auth/iflow/iflow_auth.go @@ -138,6 +138,7 @@ func (ia *IFlowAuth) doTokenRequest(ctx context.Context, req *http.Request) (*IF } if tokenResp.AccessToken == "" { + log.Debug(string(body)) return nil, fmt.Errorf("iflow token: missing access token in response") }