modules
modules copied to clipboard
[Module Listing Request]: `workmate-auth module`
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:
- The use cases of the auth token from sidebase while using
useFetchand$fetchare not direct - This is more important. The sidebase auth module adds the users options to the
public runtimewhich 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