add logging

This commit is contained in:
Mahesh Sanikommu 2026-06-16 14:38:10 -07:00
parent 949413d98e
commit 9d1285879e
2 changed files with 6 additions and 0 deletions

@ -0,0 +1 @@
Subproject commit fd98c5e11ad750388b1b11df4d9ab05839fc3d0c

View file

@ -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.",