Create a admin panel with vue js(Nuxt SSR) using rest api. Is it secure?

868 Views Asked by At

I have a project on e-commerce with Nuxt(Vue framework) and GO(for building API). Now I want to create a separate admin panel. I want to build that admin panel with NuxtJS (Vuejs framework) SSR using RestAPI. I am using PASETO token base auth (like: jwt). But i am concern about security. will it be secure application?

1

There are 1 best solutions below

0
On

Of course! You can use easy-to-setup auth plugin for Nuxt https://auth.nuxtjs.org/. It provides:

  1. Middleware - lets you define custom functions that can be run before rendering either a page or a group of pages (layout).
  2. Schemes - define authentication logic.
  3. Strategy - configured instance of Scheme.

You can have multiple middleware, schemes & strategies in your project.