mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-02 05:24:56 +08:00
Add console logs for debugging consent page (#1129)
This commit is contained in:
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user