๐ฉ Mother May I
A Nuxt 3 module for performing basic authentication with a user-created API path and role/resource based permission management. Utilizes Redis Stack for secure server side session management. Utilizes signed JWT for session management, stored in cookies for the web, but also utilizing the HTTP authorization header for bearer tokens utilized by mobile and IOT devices.
- Role/Resource Based Permissions: Define resources which can be assigned to roles. Users can be assigned roles to limit access to resources
- API and Page protections: Pages are protected at the server level as defined in the nuxt.config. API routes are protected by functions provided by the useMMI server utility
- Easy to Scale: Uses Redis stack for server session storage in JSON format. Multiple Nuxt servers can use the same redis store for seamless load balancing.
- Under Active Development: New features comming...
Bash
$npm i @andor83/mother-may-i
Click to copy