@open-rlb/ng-app 3.0.4 → 3.0.5

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.
@@ -304,7 +304,6 @@ class AuthFeatureService {
304
304
  this.store = store;
305
305
  }
306
306
  login() {
307
- console.log("AuthFeatureService, dispatch login call");
308
307
  this.store.dispatch(AuthActions.login());
309
308
  }
310
309
  logout() {
@@ -1360,6 +1359,7 @@ class AuthenticationService {
1360
1359
  }
1361
1360
  get isAuthenticated$() {
1362
1361
  return this.oidc.isAuthenticated$.pipe(map((isAuthenticated) => {
1362
+ this.logger.warn(`oidc isAuthenticated$ check, response: ${isAuthenticated}; looking for isAuthenticated of ${this.currentProvider?.configId} configId`);
1363
1363
  return isAuthenticated.allConfigsAuthenticated.find(o => o.configId === this.currentProvider?.configId)?.isAuthenticated || false;
1364
1364
  }));
1365
1365
  }
@@ -1812,11 +1812,6 @@ class AppTemplateComponent {
1812
1812
  loginNav(event) {
1813
1813
  event?.preventDefault();
1814
1814
  event?.stopPropagation();
1815
- console.log("AppTemplateComponent -> loginNav() called, dispatch login call");
1816
- this.store.dispatch(AuthActions.login());
1817
- }
1818
- login() {
1819
- console.log("AppTemplateComponent -> login() called, dispatch login call");
1820
1815
  this.store.dispatch(AuthActions.login());
1821
1816
  }
1822
1817
  onSideBarItemClick(item) {
@@ -2324,7 +2319,6 @@ const oauthGuard = (route, state) => {
2324
2319
  const authService = inject(AuthenticationService);
2325
2320
  return authService.isAuthenticated$.pipe(take(1), map((isAuthenticated) => {
2326
2321
  if (!isAuthenticated) {
2327
- console.warn("Attention! Guard navigates to login!!!");
2328
2322
  authService.login();
2329
2323
  return false;
2330
2324
  }