Basalt Auth
Warning
Basalt is currently in its early stages, so please be patient and feel free to provide feedback on your experience via email: basalt-lab@proton.me or on Discord necrelox
.
Introduction
Basalt Auth is a token-based authentication module designed to be easy to use.
The uniqueness of Basalt Auth lies in its key pair system: each token is associated with its own pair, a feature that sets it apart from standard JWT tokens.
It is a combination of OAT and JWT, where both tokens and public keys need to be stored on the server side for verification.
For this, I recommend using a store like Redis or DragonFly.
Why Basalt Auth?
The goal behind Basalt Auth was to develop a custom authentication system inspired by the structure of JWT, but with some nuances.
This approach is not necessarily superior to conventional methods; it is rather a personal exploration in the design of authentication systems.
It is important to note that security is an evolving discipline, and the merits of this structure compared to established standards have not been fully evaluated.
Warning
Basalt Auth does not seek to replace existing solutions, but rather to offer an alternative for specific use cases.
Versatility and Compatibility
Basalt Auth is designed to be used in a backend context. It has no dependencies, making it easy to integrate into any Node.js project.