From e1ef391fa813d7a54b743772486cbea15c690b99 Mon Sep 17 00:00:00 2001 From: "Prezliata, Volodymyr (FR - External)" Date: Wed, 14 Aug 2024 18:21:30 -0600 Subject: [PATCH] Include origin check configuration to session event handler --- projects/lib/src/oauth-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/lib/src/oauth-service.ts b/projects/lib/src/oauth-service.ts index dce071f9..91defd54 100644 --- a/projects/lib/src/oauth-service.ts +++ b/projects/lib/src/oauth-service.ts @@ -1310,7 +1310,7 @@ export class OAuthService extends AuthConfig implements OnDestroy { this.debug('sessionCheckEventListener'); - if (!issuer.startsWith(origin)) { + if (this.checkOrigin && !issuer.startsWith(origin)) { this.debug( 'sessionCheckEventListener', 'wrong origin',