What problem does it solve?
This Skill provides a robust, provider-agnostic authentication system for AFD applications, ensuring secure access and managing user sessions effectively.
Core Features & Use Cases
- Provider-Agnostic Authentication: Integrates seamlessly with various authentication providers.
- Session Management: Handles authenticated, unauthenticated, and loading states with type safety.
- Command Gating: Protects commands with authentication middleware.
- Built-in Adapters: Includes Mock, Convex, and BetterAuth adapters for different environments.
- Multi-Tab Sync: Ensures consistent session state across multiple browser tabs.
- Use Case: Securely manage user logins and protect sensitive commands in a web application, ensuring only authenticated users can access certain features.
Quick Start
Use the afd-auth skill to sign in the current user using their credentials.