auth-frontend-backend
Installation
SKILL.md
Authentication and Authorization Frontend-Backend Integration Skill
This skill provides expert knowledge for connecting frontend and backend with Better Auth, implementing user-isolated secure authentication using JWT tokens on every API call with rate limiting in Next.js 16 frontend and FastAPI backend.
Overview
This skill focuses on creating a secure, user-isolated authentication and authorization system that connects Next.js 16 frontend with FastAPI backend using Better Auth as the authentication provider. The system implements JWT tokens for every API call and includes rate limiting for security and performance.
Architecture Overview
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Next.js │ │ Better Auth │ │ FastAPI │
│ Frontend │◄──►│ (Authentication│◄──►│ Backend │
│ │ │ Provider) │ │ │
└─────────────────┘ └─────────────────┘ └─────────────────┘