Skip to content

Commit

Permalink
fix(oidc): MonitorSession/CheckSession initializes only on one tab (r…
Browse files Browse the repository at this point in the history
…elease)
  • Loading branch information
guillaume-chervet committed Feb 5, 2025
1 parent f0641a6 commit 7a1b18e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/oidc-client/src/keepSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const tryKeepSessionAsync = async (oidc: Oidc) => {
const sessionState = await serviceWorker.getSessionStateAsync();
// @ts-ignore
await oidc.startCheckSessionAsync(
oidcServerConfiguration.check_session_iframe,
oidcServerConfiguration.checkSessionIframe,
configuration.client_id,
sessionState,
);
Expand Down Expand Up @@ -78,7 +78,7 @@ export const tryKeepSessionAsync = async (oidc: Oidc) => {
const sessionState = await session.getSessionStateAsync();
// @ts-ignore
await oidc.startCheckSessionAsync(
oidcServerConfiguration.check_session_iframe,
oidcServerConfiguration.checkSessionIframe,
configuration.client_id,
sessionState,
);
Expand Down

0 comments on commit 7a1b18e

Please sign in to comment.