nuxt-community / auth-module

Zero-boilerplate authentication support for Nuxt 2
https://auth.nuxtjs.org
MIT License
1.93k stars 924 forks source link

The BFF Pattern ? #1760

Open WestFarmer opened 2 years ago

WestFarmer commented 2 years ago

Hi, I have read a article about SPA OAuth best practice.

accroding to this article:

As tokens are used when communicating with APIs, they are available in the browser. Consequently, they can be obtained by common Open Web Application Security Project (OWASP) defined attacks like Cross-Site Scripting (XSS).

It is not possible to store something in the browser safely over a long time without using a back end to secure it. Any browser-based storage mechanism is susceptible to attacks.

also, there is a IETF Best Current Practice .

I am wondering, do we have a plan to support these patterns ?