跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Better Auth

技能 已验证 活跃

Add authentication with Better Auth (TypeScript). Use for email/password, OAuth providers (Google, GitHub), 2FA/MFA, passkeys/WebAuthn, sessions, RBAC, rate limiting.

目的

To provide developers with a robust, flexible, and comprehensive authentication and authorization framework for TypeScript applications, simplifying the implementation of secure user management.

功能

  • Email/Password authentication
  • OAuth 2.0 integration (Google, GitHub, etc.)
  • 2FA/MFA and Passkeys/WebAuthn support
  • Session management and RBAC
  • Rate limiting and advanced auth features

使用场景

  • Implementing secure authentication flows in new or existing TypeScript applications.
  • Adding social login options via OAuth providers.
  • Enhancing security with multi-factor authentication and passkeys.
  • Managing user sessions and role-based access control.

非目标

  • Providing a UI framework or components.
  • Handling application-specific business logic beyond authentication.
  • Acting as a full backend framework; it is focused solely on auth.

安装

npx skills add binjuhor/shadcn-lar

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
99 /100
3 days ago 分析

信任信号

最近提交5 days ago
星标80
状态
查看源代码

类似扩展

Netlify Identity

100

用于身份验证、用户注册、登录、密码恢复、OAuth 提供商、基于角色的访问控制或保护路由和函数。始终使用 `@netlify/identity`。切勿使用 `netlify-identity-widget` 或 `gotrue-js` — 它们已弃用。

技能
netlify

Auth0 Express OAuth2 JWT Bearer

100

Use when adding Auth0 token validation to Express or Node.js APIs - integrates express-oauth2-jwt-bearer SDK to protect Node.js API endpoints with JWT Bearer authentication, scope-based RBAC, claim validation, and optional DPoP support

技能
auth0

Auth0 Nuxt

100

Use when implementing Auth0 authentication in Nuxt 3/4 applications, configuring session management, protecting routes with middleware, or integrating API access tokens - provides setup patterns, composable usage, and security best practices for the @auth0/auth0-nuxt SDK

技能
auth0

Senior Backend Engineer

100

Designs and implements backend systems including REST APIs, microservices, database architectures, authentication flows, and security hardening. Use when the user asks to "design REST APIs", "optimize database queries", "implement authentication", "build microservices", "review backend code", "set up GraphQL", "handle database migrations", or "load test APIs". Covers Node.js/Express/Fastify development, PostgreSQL optimization, API security, and backend architecture patterns.

技能
alirezarezvani

Better Auth Authentication

99

Better Auth authentication flows for TypeScript apps. Use when enabling email/password auth, configuring social providers, or implementing sign-up, sign-in, and verification flows.

技能
bobmatnyc

Oauth

96

为 Fastify 应用程序实现 OAuth 2.0/2.1 授权流程——配置 PKCE 授权码、客户端凭证、设备流、刷新令牌轮换、JWT 验证以及令牌内省/撤销端点。在设置身份验证、授权、登录流程、访问令牌、API 安全,或使用 OAuth 保护 Fastify 路由时使用;也适用于对令牌验证错误、重定向 URI 不匹配、CSRF 问题、范围问题或 RFC 6749/6750/7636/8252/8628 合规性问题的故障排除。

技能
mcollina