code: void onConnect(BootstrapServer server) {
          // store selected server
          new BootstrapServerStore().storeSelection(server);
  
          if (dialog != null) {
              dialog.hide();
              LoadingPanel.get().on();
          }
          String serverUrl = getServerUrl(server);
          context.setSameOrigin(serverUrl.equals(getBaseUrl()));
          if (!serverUrl.endsWith("/")) {
              serverUrl += "/";
          }
  
          // Trigger authentication using a hidden iframe. This way also Safari will show the login dialog
          setUrls(serverUrl);
          andThen.execute();
      }
docs: Valid to call only for /management endpoints, not valid for SSO to Keycloak