AuthPool is currently open source.
3
How it works
From zero to
production auth
in three steps.
1
Install
One package. All dependencies bundled.
2
Configure
Three env vars. Everything else has safe defaults.
3
Start
One function. All 14 security layers active.
14
Security
0layers, all on by default.
Security is not a configuration option. Every layer activates the moment you call startAuthServer().
0
tests
0
function
0
config files
bcrypt (12 rounds)
JWT HS256
Refresh token rotation
SHA-256 token hashing
httpOnly cookies
Double-submit CSRF
Brute-force lockout
Rate limiting
helmet middleware
MongoDB session store
Mongoose strict: true
tokenVersion bump
Redis-backed counters
select: false password