How to use OKTA Vue to refresh tokens

As we all know, the validity period of an access token is only 1 hour. How can I use the refresh token to obtain a new access token and replace the old token stored in the local storage. Does OKTA Vue have the function to support refreshing tokens

You should be able to get a refresh token by adding the offline_access scope to your OktaAuth config and, with autoRenew enabled by default, you should see that a refresh token is used to fetch new access/id tokens upon their expiration.