hi, i’m using the sdk for SPAs, on vuejs3 framework.
i’ve looked through the example on this link:
the last line of code is the following:
// Silently refreshing the access token will use the /token endpoint
// with ‘refresh_token’ grant and the refresh token from the cache
i didn’t understand how many times do i have to call the getTokenSilently… is it just once? on every route? or before each API call that uses the access token?
thanks in advance…