You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplifies authentication setup for Nuxt.js applications, offering robust support for OAuth, JWT, and local authentication strategies. Designed for seamless integration, it provides features like user management, secure token handling, and middleware support, ensuring efficient and secure authentication workflows.
Motivation
I created this for simplified use cases and the motivation was because of 2 major reasons:
The use cases of the auth token from sidebase while using useFetch and $fetch are not direct
This is more important. The sidebase auth module adds the users options to the public runtime which is a big security issue as it adds potential secrets in the public runtime. I tried to make it work in a mini module, but I realized why they did it, non-public runtime configs are not so easily reached as compared to public runtimes, but this compromise for security is not acceptable.
Description
Simplifies authentication setup for Nuxt.js applications, offering robust support for OAuth, JWT, and local authentication strategies. Designed for seamless integration, it provides features like user management, secure token handling, and middleware support, ensuring efficient and secure authentication workflows.
Motivation
I created this for simplified use cases and the motivation was because of 2 major reasons:
useFetch
and$fetch
are not directpublic runtime
which is a big security issue as it adds potential secrets in the public runtime. I tried to make it work in a mini module, but I realized why they did it, non-public runtime configs are not so easily reached as compared to public runtimes, but this compromise for security is not acceptable.Repository
https://github.com/work-mate/nuxt-auth-module
npm
https://www.npmjs.com/package/@workmate/nuxt-auth
Nuxt Compatibility
Nuxt 3
The text was updated successfully, but these errors were encountered: