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.