My app doesn't recognize the successful session

“auth0-js”: “^9.13.2”,
@angular/compiler”: “~8.2.11”,

login(data, obs: Subject<any>) {
    this.auth0.login(
      {
        realm: environment.auth0.connection,
        username: data.email,
        password: data.password,
      },
      function (err, authResult, e) {
        obs.next(err);
      }
    );
  }

Previously I used the universal login and it worked perfectly for me, now they asked me to do it directly in our domain and we capture the user’s data and send it to you, but it generates a problem that when I log in even though it tells me that it is successful it doesn’t recognize it at that moment

but at f5, if you recognize the session