Heat coconut oil in a large pot or skillet over medium heat. Add the chopped onion and sauté until translucent, about 5 minutes.
Stir in the minced garlic and grated ginger, and cook for another minute until fragrant.
Add the red curry paste, cumin, and turmeric, stirring to combine with the onion mixture. Cook for about 2 minutes, allowing the spices to bloom.
Pour in the coconut milk and vegetable broth. Stir well to mix everything together.
Add the drained chickpeas and brown sugar to the pot. Season with salt and pepper. Bring to a gentle simmer and let cook for 15-20 minutes, stirring occasionally.
If using fresh spinach, add it to the pot in the last 5 minutes of cooking. If using frozen spinach, add it in with the chickpeas.
Once cooked, stir in the lime juice and adjust seasoning if necessary.
Serve hot, garnished with fresh cilantro.
Notes
Adjust the spice level by modifying the amount of red curry paste.