mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
add logging
This commit is contained in:
parent
949413d98e
commit
9d1285879e
2 changed files with 6 additions and 0 deletions
1
.git-worktrees/nova-1071
Submodule
1
.git-worktrees/nova-1071
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit fd98c5e11ad750388b1b11df4d9ab05839fc3d0c
|
||||
|
|
@ -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.",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue