From 7aeabbabd46d544a23704732fc526e7355633856 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 1 Feb 2026 15:52:56 -0800 Subject: [PATCH] fix: refine oauth provider guard --- src/agents/auth-profiles/oauth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/auth-profiles/oauth.ts b/src/agents/auth-profiles/oauth.ts index d27184b4da..b5a52dd277 100644 --- a/src/agents/auth-profiles/oauth.ts +++ b/src/agents/auth-profiles/oauth.ts @@ -16,7 +16,7 @@ import { suggestOAuthProfileIdForLegacyDefault } from "./repair.js"; import { ensureAuthProfileStore, saveAuthProfileStore } from "./store.js"; const OAUTH_PROVIDER_IDS = new Set( - getOAuthProviders().map((provider) => provider.id as OAuthProvider), + getOAuthProviders().map((provider) => provider.id), ); const isOAuthProvider = (provider: string): provider is OAuthProvider =>