cli/internal/authflow
William Martin fb8e22a767 fix(auth): preserve User-Agent in authflow getViewer
getViewer was building a new HTTP client from scratch, losing
AppVersion and InvokingAgent from the plain client already passed
into AuthFlow. Reuse the existing client by shallow-copying it and
wrapping its transport with AddAuthTokenHeader for the new token.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-26 17:26:27 +01:00
..
flow.go fix(auth): preserve User-Agent in authflow getViewer 2026-03-26 17:26:27 +01:00
flow_test.go fix(auth): preserve User-Agent in authflow getViewer 2026-03-26 17:26:27 +01:00
success.go split auth flow code into new internal package 2020-09-10 12:13:48 -05:00