cedricium / firefly

:fire: Vue.js / Express.js Fullstack Web Application
MIT License
3 stars 1 forks source link

Update frontend authentication practices #12

Open cedricium opened 6 years ago

cedricium commented 6 years ago

Implementing authenticated routes is mainly what I had in mind, specifically to guard against viewing any User-related pages (user/account, user/favorites). Would also like to update the navigation bar to always show the "+ Add Site" button, "Profile" dropdown, and ⭐️ button and have the route redirect if needed due to the user's current authentication situation.

Refs: https://blog.sqreen.io/authentication-best-practices-vue/