From 7bc04e2218ebe7b650a0d69580ec9e5e7c6d47ec Mon Sep 17 00:00:00 2001 From: Ike <137194738+ike-kottlowski@users.noreply.github.com> Date: Thu, 28 Aug 2025 09:54:16 -0400 Subject: [PATCH] fix: do not fetch refresh token on sync during CLI login (#16155) fix: fetching a refresh token on a full sync during api key login on cli caused rate limit issues. we no longer fetch a refresh token on login since we shouldn't need it. --- apps/cli/src/auth/commands/login.command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cli/src/auth/commands/login.command.ts b/apps/cli/src/auth/commands/login.command.ts index d25e9a70d8..7941478464 100644 --- a/apps/cli/src/auth/commands/login.command.ts +++ b/apps/cli/src/auth/commands/login.command.ts @@ -333,7 +333,7 @@ export class LoginCommand { } // Run full sync before handling success response or password reset flows (to get Master Password Policies) - await this.syncService.fullSync(true); + await this.syncService.fullSync(true, { skipTokenRefresh: true }); // Handle updating passwords if NOT using an API Key for authentication if (clientId == null && clientSecret == null) {