better-auth
Better Authを使用して、フレームワークに依存しないTypeScript認証フレームワークで認証と認可を実装できます。メール/パスワード認証と検証、OAuth プロバイダー(Google、GitHub、Discord など)、二段階認証(TOTP、SMS)、パスキー/WebAuthn対応、セッション管理、ロールベースアクセス制御(RBAC)、レート制限、データベースアダプターなど豊富な機能を備えています。アプリケーションへの認証機能追加、OAuthフローの実装、2FA/MFAの構築、ユーザーセッション管理、認可ルール設定、Webアプリケーションのセキュアな認証システム構築などの場面で活用できます。
description の原文を見る
Implement authentication and authorization with Better Auth - a framework-agnostic TypeScript authentication framework. Features include email/password authentication with verification, OAuth providers (Google, GitHub, Discord, etc.), two-factor authentication (TOTP, SMS), passkeys/WebAuthn support, session management, role-based access control (RBAC), rate limiting, and database adapters. Use when adding authentication to applications, implementing OAuth flows, setting up 2FA/MFA, managing user sessions, configuring authorization rules, or building secure authentication systems for web applications.
SKILL.md 本文
Better Auth スキル
Better Auth は TypeScript 向けの包括的なフレームワークに依存しない認証/認可フレームワークで、組み込みのメール/パスワード認証、ソーシャル OAuth、および高度な機能向けの強力なプラグインエコシステムを備えています。
使用する場面
- TypeScript/JavaScript アプリケーションで認証を実装する
- メール/パスワードまたはソーシャル OAuth 認証を追加する
- 2FA、パスキー、マジックリンク、高度な認証機能をセットアップする
- 組織サポート機能を備えたマルチテナントアプリを構築する
- セッションとユーザーライフサイクルを管理する
- あらゆるフレームワーク(Next.js、Nuxt、SvelteKit、Remix、Astro、Hono、Express など)で利用する
クイックスタート
インストール
npm install better-auth
# または pnpm/yarn/bun add better-auth
環境セットアップ
.env を作成します:
BETTER_AUTH_SECRET=<generated-secret-32-chars-min>
BETTER_AUTH_URL=http://l
...
詳細情報
- 作者
- nordeim
- ライセンス
- 不明
- 最終更新
- 2026/4/14
Source: https://github.com/nordeim/Prompt-Engineering / ライセンス: 未指定