@aetheria/plugin-auth
@aetheria/plugin-auth
- a simple authentication plugin for Aetheria's headless CMS!
This package provides simple authentication functionalities using local credentials (username + password) and JSON Web
Tokens (JWT).
It includes two NestJS guards: JwtAuthGuard
and LocalAuthGuard
, which can be easily integrated into your Aetheria
CMS project.
Features
@aetheria/plugin-auth
:
-
Local Authentication: The package enables local authentication using username and password credentials. The
LocalAuthGuard
can be used to protect routes and endpoints that require user authentication. -
JWT Authentication: JSON Web Tokens (JWT) are utilized for secure authentication. The
JwtAuthGuard
is provided as a global guard by default, ensuring that authenticated requests are authorized based on the provided JWT.
Installation
@aetheria/plugin-auth
, simply run the following command:
npm install @aetheria/plugin-auth
Usage
License
📜 This package is licensed under the GPL-2.0 licensed.
Contributing
@aetheria/plugin-auth
. If you have any ideas, bug fixes, or
improvements, please feel free to submit a pull request or open an issue on the GitHub repository.
Want some quick links? Here are some useful places to get started:
Get Started Now!
@aetheria/plugin-auth
.
Visit the official Aetheria documentation to learn more and integrate
authentication into your application.
Secure your application and provide a seamless user experience! 🚀