In the bowl of your stand mixer fitted with the paddle attachment (or use an electric hand mixer and a large bowl), cream together the butter, brown sugar, and white sugar until fluffy.
Add eggs one at a time, mixing well after each. Stir in vanilla extract and sourdough discard.
In a separate bowl, whisk together the flour, baking soda, and salt. Add dry ingredients to the wet mixture in batches.
Stir in the quick oats until just combined.
Optional overnight ferment: For deeper flavor and better digestion, mix in the sourdough discard with the wet ingredients and let the dough sit overnight in the fridge, wrapped in plastic wrap or stored in an airtight container
Scoop dough using a medium cookie scoop onto a parchment paper-lined baking sheet.
Bake at 350°F for 10 minutes or at 375°F for 8 minutes. For best results, bake on the upper oven rack for a golden brown color without over-darkening the bottoms.
Let cool.
Pumpkin Spice Cream Filling:
In a medium bowl, beat the butter and cream cheese with an electric hand mixer until smooth.
Add vanilla and pumpkin spice. Slowly mix in the powdered sugar until fluffy and spreadable.
Transfer to a piping bag or use a spoon to fill one side of each cooled cookie, then sandwich with a second cookie.
Notes
Tips for baking the Perfect Cookie:
Always start with room temperature ingredients for a smooth, even mix. Cold butter won’t cream properly and cold eggs can cause curdling.
Use a cookie scoop to make sure all your cookies are the same size, this helps them bake evenly and sandwich together cleanly.
Bake your sourdough oatmeal sandwich cookies on parchment paper or a silicone mat on a light-colored baking sheet. This helps prevent over-browning and gives that perfect golden brown color.