@dereekb/dbx-firebase 13.11.10 → 13.11.11

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.
@@ -904,7 +904,7 @@ class DbxOAuthConsentComponent {
904
904
  const grantedOIDCScopes = formValue.grantedOIDCScopes;
905
905
  context.startWorkingWithObservable(this.interactionService.submitConsent(uid, true, { grantedOIDCScopes }).pipe(tap((response) => {
906
906
  if (response.redirectTo) {
907
- window.location.href = response.redirectTo;
907
+ globalThis.location.href = response.redirectTo;
908
908
  }
909
909
  })));
910
910
  };
@@ -920,7 +920,7 @@ class DbxOAuthConsentComponent {
920
920
  }
921
921
  context.startWorkingWithObservable(this.interactionService.submitConsent(uid, false).pipe(tap((response) => {
922
922
  if (response.redirectTo) {
923
- window.location.href = response.redirectTo;
923
+ globalThis.location.href = response.redirectTo;
924
924
  }
925
925
  })));
926
926
  };