diff --git a/lib/core/src/lib/auth/oidc-authentication.service.ts b/lib/core/src/lib/auth/oidc-authentication.service.ts index 1ae92aa8d5..919bc831da 100644 --- a/lib/core/src/lib/auth/oidc-authentication.service.ts +++ b/lib/core/src/lib/auth/oidc-authentication.service.ts @@ -46,6 +46,11 @@ export class OIDCAuthenticationService extends BaseAuthenticationService { private readonly auth: AuthService ) { super(alfrescoApi, appConfig, cookie, logService); + this.alfrescoApi.alfrescoApiInitialized.subscribe(() => { + this.alfrescoApi.getInstance().reply('logged-in', () => { + this.onLogin.next(); + }); + }); } isEcmLoggedIn(): boolean {