Skip to content

Commit 15900f4

Browse files
fix(oidc): MonitorSession/CheckSession initializes only on one tab (release) (#1513)
1 parent 6e8a967 commit 15900f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/oidc-client/src/keepSession.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const tryKeepSessionAsync = async (oidc: Oidc) => {
3939
const sessionState = await serviceWorker.getSessionStateAsync();
4040
// @ts-ignore
4141
await oidc.startCheckSessionAsync(
42-
oidcServerConfiguration.check_session_iframe,
42+
oidcServerConfiguration.checkSessionIframe,
4343
configuration.client_id,
4444
sessionState,
4545
);
@@ -78,7 +78,7 @@ export const tryKeepSessionAsync = async (oidc: Oidc) => {
7878
const sessionState = await session.getSessionStateAsync();
7979
// @ts-ignore
8080
await oidc.startCheckSessionAsync(
81-
oidcServerConfiguration.check_session_iframe,
81+
oidcServerConfiguration.checkSessionIframe,
8282
configuration.client_id,
8383
sessionState,
8484
);

0 commit comments

Comments
 (0)