If you remember, at the end of our server-side changes, we removed the access token expiration date from the response returned from a successful authentication request. We don't care about when the token expires anymore, as our refresh token interceptor will handle our need to obtain a new access token every 15 minutes anyway. As such, we can modify our authenticated getter function to omit the expiry date check. Open up the ClientApp/store/getters.js file and modify the isAuthenticated function like so:
export const isAuthenticated = state => {
return state.auth !== null && state.auth.access_token !== null;
};
We can now test that everything is working properly by monitoring the Network tab within Chrome's DevTools. Rather than waiting 15 minutes for your access token to expire, you can change the expiration in the appsettings.json file to a...