Giverny

Better Auth Security Best Practices

Configure rate limiting, manage auth secrets, set up CSRF protection, define trusted origins, secure sessions and cookies, encrypt OAuth tokens, track IP addresses, and implement…

by Better Auth★ 233Auth & identityOfficial

What Better Auth Security Best Practices does

Configure rate limiting, manage auth secrets, set up CSRF protection, define trusted origins, secure sessions and cookies, encrypt OAuth tokens, track IP addresses, and implement audit logging for Better Auth. Use when users need to secure their auth setup, prevent brute force attacks, or harden a Better Auth deployment.

How to install Better Auth Security Best Practices in Claude Code

Giverny gives you a ready prompt with the exact install command from better-auth/skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone better-auth/skills and copy the security folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Better Auth Security Best Practices on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the better-auth-security-best-practices skill on my current project.”

More Claude skills for auth & identity