雙因素認證最佳實踐 是做什麼的?
配置 TOTP 驗證器應用程式,透過電子郵件/SMS 發送 OTP 驗證碼,管理備用驗證碼,處理受信任裝置,並使用 Better Auth 的 twoFactor 外掛實現 2FA 登入流程。適用於使用者需要 MFA、多因素驗證、驗證器設定或使用 Better Auth 進行登入安全的情境。
配置 TOTP 驗證器應用程式,透過電子郵件/SMS 發送 OTP 驗證碼,管理備用驗證碼,處理受信任裝置,並使用 Better Auth 的 twoFactor 外掛實現 2FA 登入流程。適用於使用者需要 MFA、多因素驗證、驗證器設定或使用 Better Auth 進行登入安全的情境。
此技能提供使用 Better Auth 的 twoFactor 外掛來實現雙因素認證 (2FA) 的完整實踐指南。它涵蓋了將 TOTP 驗證器應用程式(如 Google Authenticator 或 Authy)無縫整合到應用程式中的過程,並支援透過電子郵件或 SMS 發送一次性密碼 (OTP) 作為備用方法。此技能還詳細說明了安全地管理備用驗證碼、實作受信任裝置功能(讓特定裝置在設定時間內略過 2FA)以及設計完整的 2FA 登入流程的最佳方法。它主要適用於 Better Auth 生態系統,對需要為使用者新增多因素認證 (MFA) 來增強安全性的開發者極其有用。
npx skills add https://github.com/better-auth/skills/tree/main/skills/two-factor-authentication-best-practicesInstalled? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
配置 TOTP 驗證器應用程式,透過電子郵件/SMS 發送 OTP 驗證碼,管理備用驗證碼,處理受信任裝置,並使用 Better Auth 的 twoFactor 外掛實現 2FA 登入流程。適用於使用者需要 MFA、多因素驗證、驗證器設定或使用 Better Auth 進行登入安全的情境。
This repo contains 5 individual skills — each has its own dedicated page.
Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables. Use when users mention Better Auth, betterauth, auth.ts, or need to set up TypeScript authentication with email/password, OAuth, or plugin configuration.
better-auth-security-best-practices — an installable skill for AI agents.
Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.
Configure email verification, implement password reset flows, set password policies, and customise hashing algorithms for Better Auth email/password authentication. Use when users need to set up login, sign-in, sign-up, credential authentication, or password security with Better Auth.
Configure multi-tenant organizations, manage members and invitations, define custom roles and permissions, set up teams, and implement RBAC using Better Auth's organization plugin. Use when users need org setup, team management, member roles, access control, or the Better Auth organization plugin.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.