Toolverse
All skills

better-auth

by mrgoonie

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),

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
mrgoonie
Category
Security
Views
23

About this skill

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.

How to use

  1. Zainstaluj Better Auth za pomocą npm install better-auth (lub pnpm/yarn/bun add better-auth). 2. Utwórz plik .env w głównym katalogu projektu i dodaj dwie zmienne: BETTER_AUTH_SECRET (wygenerowany klucz 32 znaki) oraz BETTER_AUTH_URL (np. http://localhost:3000). 3. Stwórz plik auth.ts w głównym katalogu, w folderze lib/, utils/ lub src/app/server/ – będzie tam konfiguracja Better Auth. 4. W pliku auth.ts zaimportuj betterAuth z pakietu, następnie utwórz instancję z konfiguracją bazy danych, włącz emailAndPassword z opcją autoSignIn: true, oraz dodaj dostawców OAuth (np. GitHub z clientId i clientSecret z zmiennych środowiskowych). 5. Skonfiguruj integrację z bazą danych zgodnie z dokumentacją – Better Auth wspiera popularne bazy i ORMy. 6. Użyj obiektu auth w swoim kodzie aplikacji do obsługi logowania, rejestracji, zarządzania sesjami i autoryzacji użytkowników.

Related skills

python-expert

by Shubhamsaboo

Senior Python developer expertise for writing clean, efficient, and well-documented code.\nUse when: writing Python code, optimizing Python scripts, reviewing Python code for best practices,\ndebugging Python issues, implementing type hints, or when user mentions Python, PEP 8,

Security
2777

llama-cpp

by zechenzhangAGI

Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.

Security
11252

reverse-engineering-tools

by gmh5225

Guide for reverse engineering tools and techniques used in game security research. Use this skill when working with debuggers, disassemblers, memory analysis tools, binary analysis, or decompilers for game security research.

Security
3168

youtube-watcher

by openclaw

Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.

Security
2231

senior-security

by davila7

Comprehensive security engineering skill for application security, penetration testing, security architecture, and compliance auditing. Includes security assessment tools, threat modeling, crypto implementation, and security automation. Use when designing security architecture,

Security
2482

payload

by payloadcms

Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.

Security
50171