Back to AI skills
Authentication Patterns
Ship secure auth - OAuth, magic links, passkeys, and session management done right.
better-authAI skill
Add to your agent
Run this in your terminal, choose better-auth from the collection, then select your agent.
npx skills add https://github.com/better-auth/skillsOr open the source for the author’s setup instructions.
About this skill
Covers modern authentication patterns that users expect - OAuth 2.0, magic links, passkeys, session management, and token refresh flows. Helps your team implement secure, user-friendly auth without the common pitfalls that cause security incidents or drop-off.
What it helps with
- OAuth 2.0 and OpenID Connect flows
- Magic link and passwordless auth patterns
- Session management and token refresh
- Role-based access control (RBAC)
- Security best practices and common pitfalls
engineeringdelivery