Lightlines
By better-auth

better-auth-security-best-practices

better-auth39.3k installs

Harden your authentication before production.

What it does

Hardens a Better Auth deployment with secure secrets, rate limits, CSRF defenses, trusted origins, sessions, cookies, and auditing.

When to use it

Use when securing an authentication setup, preventing brute-force attacks, or hardening a Better Auth deployment.

How to use it

Give it a Better Auth project to harden; it configures the project's authentication security.

What you provide

  • An existing project

Security reviews

Not yet reviewed.


What you need · 1

The project must provide the better-auth package used by the configuration examples.


Access · 0

No additional actions listed.