Vue.js and Symfony: Roles Authentication

This article has been indexed from DZone Security Zone

One of my latest private projects was Frontend built fully with Vue.js. I wanted to support a group of users and roles, where certain account types would be restricted from entering given pages or seeing some of the components. 

While Symfony restrictions are provided out-of-box, Vue.js doesn’t have such a built-in mechanism, so I decided to combine a bit of knowledge from Vue.js tutorials and Symfony mechanism.

Read the original article: Vue.js and Symfony: Roles Authentication