react-allauth
Installation
SKILL.md
Purpose
Configure a React frontend application to integrate with django-allauth's headless API, enabling complete authentication workflows including signup, login, email verification, password reset, and social authentication. This skill handles the entire setup process from copying authentication modules to validating flows with automated testing.
Prerequisites
Before starting this configuration, ensure the following requirements are met:
- React project with Vite - A React frontend application initialized with Vite
- Django backend with django-allauth - Django backend configured with django-allauth headless API (in settings.py - Look for allauth in INSTALLED_APPS)
- HTTPS development environment - Both frontend and backend running over HTTPS (mkcert recommended for local SSL certificates)
- React Router - Project uses
react-router-domfor routing - API configuration - An
API_BASE_URLconstant exported from a config file (typicallysrc/config/api.jsorsrc/config/api.jsx) - Project structure - Frontend source code located in
frontend/src/with standard Vite directory structure