@alfresco/adf-core 8.4.0-18715584832 → 8.4.0-18726732827
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/adf-core.mjs
CHANGED
|
@@ -8772,6 +8772,9 @@ class RedirectAuthService extends AuthService {
|
|
|
8772
8772
|
const claims = this.oauthService.getIdentityClaims();
|
|
8773
8773
|
return claims?.['sid'] || '';
|
|
8774
8774
|
}
|
|
8775
|
+
logoutNoRedirect() {
|
|
8776
|
+
this.oauthService.logOut(true);
|
|
8777
|
+
}
|
|
8775
8778
|
_getRedirectUrl() {
|
|
8776
8779
|
const DEFAULT_REDIRECT = '/';
|
|
8777
8780
|
const stateKey = this.oauthService.state;
|
|
@@ -10643,7 +10646,7 @@ class FrontChannelLogoutComponent {
|
|
|
10643
10646
|
const storedIssuerMatchUrlIssuerParam = storedIssuer && issuerParam && storedIssuer === issuerParam;
|
|
10644
10647
|
const storedSessionIdMatchUrlSessionIdParam = storedSessionId && sessionIdParam && storedSessionId === sessionIdParam;
|
|
10645
10648
|
if (storedIssuerMatchUrlIssuerParam && storedSessionIdMatchUrlSessionIdParam) {
|
|
10646
|
-
this.authService.
|
|
10649
|
+
this.authService.logoutNoRedirect();
|
|
10647
10650
|
}
|
|
10648
10651
|
}
|
|
10649
10652
|
getIssuerAndSessionIdFromAuthService() {
|