关于
This skill provides standardized implementation patterns for integrating Better Auth with JWT plugins into React and Next.js applications. It offers guidance on client-side session management, localStorage token persistence, and automatic authorization header attachment for API requests. Developers can use this skill to ensure consistent application of protected route logic, robust form validation for emails and passwords, and graceful 401 error handling with automatic redirection to login pages.