We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bfc6ba commit 27506abCopy full SHA for 27506ab
src/state/KindeProvider.tsx
@@ -583,7 +583,9 @@ export const KindeProvider = ({
583
await storeState.localStorage.removeSessionItem(
584
storeState.LocalKeys.performingLogout,
585
);
586
- window.close();
+ if (window.opener) {
587
+ window.close();
588
+ }
589
}
590
591
const hasCode = params.has("code");
0 commit comments