Cannot refresh token, getting Login Error message

In an Angular app I’m trying to refresh token (when user activation state is updated) via the following code

auth0Service.getAccessTokenSilently({ignoreCache: true})

And getting the following error
Error: Login required
Here is how the auth0 module is set up

AuthModule.forRoot({
domain: ‘my_domain’,
clientId: ‘my_id’,
audience: ‘my_audience’,
useRefreshTokens: true
})

basically I can update token only via popup, but not automatically.

Hi @ihar.charnetski,

Welcome to the Auth0 Community!

Can you see if you are successfully returned a refresh token? You should be able to inspect the request/response and see if it is returned after a successful login.