Heat the oven to 350 degrees. Add the prepared Homemade Cream of Mushroom Soup to a medium-sized baking dish, like an 8x8" or similar, then set it aside. Layer a few paper towels on a large plate then set aside.
Heat the butter in a large, heavy-bottomed skillet (preferably cast iron) over medium-high heat then add the mushrooms. Saute until the mushrooms release their liquid, the liquid cooks off, and the mushrooms become golden brown, 5-7 minutes. Season with homemade seasoned salt and pepper then add the garlic and continue to saute until it's very fragrant, 1 minute.
Scrape the mushrooms into the baking dish with the prepared soup then add the green beans and a bit more seasoned salt. Mix with a spatula to combine then bake for 30-35 minutes or until hot and bubbly, rotating the pan halfway through.
For the Crispy Shallots:
While the casserole is baking, carefully wipe out the skillet with a wet paper towel to remove any bits of garlic that might remain in the bottom, as they will burn and turn bitter when pan-frying the shallots.
Add the extra virgin olive oil then heat over medium-high heat. Once the oil is hot, add half the shallots then fry until golden brown, 2-3 minutes, stirring often. Dark brown shallots will taste burnt. Remove the shallots to the prepared plate to drain then sprinkle with salt. Fry/drain/salt the remaining shallots.
Top the hot casserole with the fried shallots then bake for an additional 5 minutes. Let the casserole cool for 10 minutes before serving.
Notes
Feel free to use store-bought gluten-free crispy onions instead of the fried shallots.
Use plant-based butter to keep this recipe dairy-free.
To Make-Ahead: Combine the prepared soup, garlic-butter mushrooms, and green beans in the casserole dish up to 2 days ahead of time then cover and refrigerate. Let the casserole sit at room temperature for 30 minutes before baking.