modules icon indicating copy to clipboard operation
modules copied to clipboard

[Module Listing Request]: `workmate-auth module`

Open dev-davexoyinbo opened this issue 1 year ago • 0 comments

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:

  1. The use cases of the auth token from sidebase while using useFetch and $fetch are not direct
  2. 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.

Repository

https://github.com/work-mate/nuxt-auth-module

npm

https://www.npmjs.com/package/@workmate/nuxt-auth

Nuxt Compatibility

Nuxt 3

dev-davexoyinbo avatar Aug 04 '24 23:08 dev-davexoyinbo