IAM
@riavzon/auth is a production-grade authentication service built on Express 5 and MySQL. It ships ready to use route sets, middleware, and a fully typed programmatic API that cover every layer of a modern auth stack: JWT access and refresh tokens with configurable rotation, multi-factor authentication, OAuth social login, behavioral anomaly detection, rate limiting, and secure email flows powered by Resend.
You can use this service, as library to build your own custom flows, configure different part of it to suite your apps needs, and use the standalone service thats already shipped with it.
The service integrates directly with Bot Detector for IP geolocation and device fingerprinting, and uses Shield Base databases for disposable-email and threat-intelligence checks.
The service is also available as a docker image.