Heat the olive oil in your stockpot over medium heat, then add the diced onion. Cook for about 4 minutes until it turns soft and slightly golden. Stir in the garlic during the last minute so it doesn't burn and turn bitter.
Sprinkle in the cumin, smoked paprika, and Mexican oregano, stirring for about 30 seconds until fragrant. Add the chopped Hatch green chiles right after so the spices coat them evenly. This step is where the whole kitchen starts to smell incredible.
Pour in the chicken broth and drop in the raw chicken thighs whole. Bring the pot to a gentle boil, then reduce to a simmer and cover for about 20 minutes. The chicken should be fully cooked through and easy to shred with a fork.
Remove the chicken thighs and shred them using two forks or tongs. Return the shredded meat back into the pot so it soaks up all that green chile broth. This keeps the chicken tender instead of drying out.
Stir in the drained white beans and corn kernels, letting the soup simmer uncovered for another 8-10 minutes. This step thickens the broth slightly and adds nice texture contrast. The beans also make the soup more filling for a full meal.
Turn off the heat and squeeze in the fresh lime juice, stirring well to combine. Taste the broth and adjust salt and pepper as needed. This final touch of acidity really wakes up all the smoky, earthy flavors.