mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-08-28 05:25:33 +00:00
Add console logs for debugging consent page (#1129)
This commit is contained in:
parent
949413d98e
commit
3f5af42565
1 changed files with 5 additions and 0 deletions
|
|
@ -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