From 3f5af42565d1ec36a71496148772e38f48fe1dec Mon Sep 17 00:00:00 2001 From: Mahesh Sanikommu Date: Tue, 16 Jun 2026 14:46:07 -0700 Subject: [PATCH] Add console logs for debugging consent page (#1129) --- apps/web/app/oauth/consent/page.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/web/app/oauth/consent/page.tsx b/apps/web/app/oauth/consent/page.tsx index ddbd049c..c12887ca 100644 --- a/apps/web/app/oauth/consent/page.tsx +++ b/apps/web/app/oauth/consent/page.tsx @@ -167,6 +167,11 @@ function OAuthConsentContent() { targetUrl.pathname === "/oauth/consent") && targetUrl.searchParams.has("sig") && targetUrl.searchParams.has("exp") + console.log("isSignedInteractionRedirect", isSignedInteractionRedirect) + console.log("targetUrl", targetUrl) + console.log("accept", accept) + console.log("window.location.origin", window.location.origin) + console.log("pathname", targetUrl.pathname) if (accept && isSignedInteractionRedirect) { throw new Error( "Authorization could not finish because your session changed. Start the connection again from your app.",