Preheat the oven to 350°F (175°C). Oil an 8x8-inch baking dish or 9-inch deep-dish pie plate with olive oil.
In a large bowl, whisk together eggs, cottage cheese, dried oregano, salt, and black pepper until well combined. For a smoother, creamier texture, blend the eggs and cottage cheese briefly first.
Stir in spinach, crumbled feta, sun-dried tomatoes, white beans and red onion, then pour the mixture into the prepared dish and spread the fillings evenly.
Bake 30-35 minutes, until the center is set and the edges are lightly golden.
Let the bake rest before slicing into 6 squares or wedges.