How to re-run Keycloak JavaScript adapter check-sso

I’m using Keycloak JavaScript adapter (version 22.0.5) in my single page web app. I execute

adapter = new Keycloak({
  url: ENV.APP.KEYCLOAK_URL,
  realm: ENV.APP.KEYCLOAK_REALM,
  clientId: ENV.APP.KEYCLOAK_CLIENT_ID,
});

const keycloak_window = window.open(
  // Documentation at https://www.keycloak.org/docs/latest/securing_apps/#methods
  adapter.createLoginUrl(),
  "_blank",
  "popup=true,width=300,height=300",
);

This starts Keycloak JavaScript adapter and open a new window for the user to provide their credentials. This works as expected.

I have more code to update the single page web app when the authentication is complete but it is missing a way to re-run Keycloak JavaScript adapter’s check-sso and update the properties. Without re-run the check-sso, the requests fail for different reasons. How can I re-run the check-sso?