The refresh token flow is a great way of increasing the security of a JWT-based authentication system, and is heavily used in OAuth2 and Open ID Connect-based applications. We've seen how easy it was to implement on the server, and just one additional file was needed on the client to tie everything together. The benefits of using refresh tokens certainly outweigh the very minor overhead of the time taken to implement them.
In the next chapter, we're going to look at another more advanced concept in Vue in order to enhance the SEO of our application: server-side rendering (SSR).