Demo atdemo.gravixar.com
Gravixar

module · auth

Identity & Auth

NextAuth v5 JWT credentials with the security defaults that should be standard but usually aren't: lockout, breach-list password check, anti-enumeration, invite-only signup.

A real auth module isn't a sign-in form. It's the boring set of defenses that keep accounts honest: 5-attempt-per-30-minute lockout, HIBP password breach check (k-anonymity, fails open), dummy bcrypt-compare on unknown emails so attackers can't enumerate accounts by timing, invite-only signup that closes the public registration surface entirely, session augmentation with role + region + department + isSuperAdmin tier so every guard down the line has the context it needs.

I ship this on every build. The shape changes per product (healthcare adds region-locking, agencies add multi-org); the security defaults don't. There's no clever new pattern here. There's just the discipline of doing the right things together rather than picking one or two and shipping the rest later.

next step

Bring me a real operations problem. I'll show you the system before you sign anything.

30-minute discovery call. If we're not a fit, you walk with notes you can use anyway.