@auth0/auth0-angular isAuthenticated$ return false after successful login

Please include the following information in your post:

  • Which SDK this is regarding: @auth0/auth0-angular
  • SDK Version: 1.51
    Hi Guys,

I have a weird situation where I have built a login button using @auth0/auth0-angular and when I made loginWithRedirect(); I got successful login in users log on my Auth0 account but
isAuthenticated$ is always returning with false and idTokenClaims$ return with null

this is my config settings

this.config.set({

                clientId: this.authConfig.clientID,

                domain: this.authConfig.domain,

                responseType: this.authConfig.responseType,

                audience: this.authConfig.audience,

                redirectUri: this.authConfig.redirectUrl + 'callback',

                scope: this.authConfig.params.scope,

           });

it was working fine for a while but i notice this problem has happened when I have cleared my app cookies and localstorge.
and I can see the code and state generated in the browser after login, could you please help me with this issue?