From fec03b3dcd3c5bcd4eabd320e79766b73281fc2f Mon Sep 17 00:00:00 2001 From: Barrett Ruth <62671086+barrettruth@users.noreply.github.com> Date: Tue, 10 Mar 2026 11:43:51 -0400 Subject: [PATCH] fix(sync): include backend name in bundled-creds auth recommendation (#124) Problem: `with_token()` recommended the generic `:Pending auth` when credentials were missing, even though the backend was already known. Solution: append the backend name so the message reads e.g. `:Pending auth gtasks` instead of `:Pending auth`. --- lua/pending/sync/oauth.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/pending/sync/oauth.lua b/lua/pending/sync/oauth.lua index 22f4803..8e670c1 100644 --- a/lua/pending/sync/oauth.lua +++ b/lua/pending/sync/oauth.lua @@ -47,7 +47,7 @@ function M.with_token(client, name, callback) if not token then local creds = client:resolve_credentials() if creds.client_id == BUNDLED_CLIENT_ID then - log.warn(name .. ': No credentials configured — run :Pending auth.') + log.warn(name .. ': No credentials configured — run :Pending auth ' .. name) return end log.info(name .. ': Not authenticated — starting auth flow...')