Preheat the oven to 350°F (175°C).
Line a 9×9 inch baking pan with parchment paper, and lightly spray with cooking spray.
Add the brown sugar and white sugar to the brown butter, and whisk or cream with hand beaters for 2-3 minutes until butter is well combined with the sugars.
½ (100g) cup granulated white sugar, ½ (100g) cup packed brown sugar
Next you'll add the egg, sourdough discard, vanilla, and espresso powder to the bowl. Mix on low speed with hand beaters or with a whisk until smooth and well combined. A word of caution, after adding starter don't beat this on high or for too long or the dough will be puffy.
1 large egg, 2 teaspoons vanilla extract, ⅓ (80g) cup sourdough discard , ¼ teaspoon espresso powder
Sourdough Discard Swap Option: if you are swapping out the discard, add the milk to the wet ingredients and the additional flour the the dry ingredients below.
3 (40g) Tbsp all-purpose flour, 2 (30g) Tbsp whole milk
Toss your rolled oats, all-purpose flour, baking powder, baking soda, salt, and cinnamon in the cookie dough.
1¼ (145g) cups all-purpose flour, 1¼ (120g) cups old-fashioned rolled oats, ½ teaspoon baking soda, ¼ teaspoon baking powder, 1 teaspoon fine sea salt, ¼ teaspoon ground cinnamon
Fold the dry ingredients into the wet ingredients just until no dry streaks remain. The dough will be thick! Do not overmix the dough at this stage.
Cover the bowl and transfer to the refrigerator to set while you make the fudge filling. This will help the cookie dough be easier to handle.
Overnight Fermentation Option: If you want to ferment the cookie dough overnight, simply cover the bowl and refrigerate overnight. When you're ready to make your bars, allow the dough to rest 30 minutes at room temperature so it's soft and easier to handle.