@open-rlb/ng-app 3.0.8 → 3.0.9

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.
@@ -446,6 +446,11 @@ class AppsService {
446
446
  this.store.dispatch(AppContextActions.setCurrentApp({ app, mode: viewMode, url }));
447
447
  }
448
448
  initAuthProviders(store, confAuth) {
449
+ const currentProviderInStore = this.store.selectSignal((state) => state[authsFeatureKey].currentProvider)();
450
+ if (currentProviderInStore) {
451
+ this.logger.info(`Auth provider already set to '${currentProviderInStore}' by Initializer. AppsService initAuthProviders skipping init.`);
452
+ return;
453
+ }
449
454
  if (!confAuth?.providers?.length) {
450
455
  this.logger.warn('No auth providers configured.');
451
456
  return;