DEV Community

loading...

Discussion on: Creating an Authentication Navigation Guard in Vue

Collapse
krusenas profile image
Karolis

Hi! :) I pretty much always use this library for Vue to enable JWT auth github.com/websanova/vue-auth. Requires very little boilerplate on the UI side and just several APIs on the backend side. It manages token refresh, gets user info and performs login/logout. So far haven't noticed any problems (~2-3 years in prod).