message: Fix redirect loop when running local bridge without valid auth token
diff: @@ -118,6 +118,13 @@ export const authSvc = {
  },
  login: () => {
  + // Ensure that we don't redirect to the current URL in a loop
  + // when using local bridge in development mode without authorization.
  + if (
  + window.location.href !== window.SERVER_FLAGS.loginURL &&
  + window.location.pathname !== window.SERVER_FLAGS.loginURL
  + ) {
  window.location = window.SERVER_FLAGS.loginURL;
  + }
  },
  };
  