From 46880474d1b3421455379dd3727d7fbc7dfcbdeb Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Fri, 27 Feb 2026 17:52:38 +0100 Subject: [PATCH] Debug: Add popup opening verification logs - Log when openAuthPopup is called - Log popup blocked vs success - Helps identify if popup is even opening --- src/composables/usePlexAuth.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/composables/usePlexAuth.ts b/src/composables/usePlexAuth.ts index 3c863b5..55c05ef 100644 --- a/src/composables/usePlexAuth.ts +++ b/src/composables/usePlexAuth.ts @@ -139,6 +139,7 @@ export function usePlexAuth() { onSuccess: (token: string) => void, onError: (msg: string) => void ) { + console.log("[PlexAuth] openAuthPopup called"); loading.value = true; const width = 600; @@ -153,10 +154,12 @@ export function usePlexAuth() { ); if (!plexPopup.value) { + console.error("[PlexAuth] Popup blocked!"); onError("Please allow popups for this site to authenticate with Plex"); loading.value = false; return; } + console.log("[PlexAuth] Popup opened successfully"); // Add loading screen if (plexPopup.value.document) {