Preheat your oven to 350°F (175°C). Line an 8X8 square baking pan with parchment paper or grease lightly with coconut oil.
In a large mixing bowl, combine the wet ingredients: sourdough discard, peanut butter, honey, and vanilla. Stir until smooth.
Add the dry ingredients: oats, pepitas, cranberries, salt, and chocolate chips. Stir well to coat everything evenly.
Press the granola bar mixture firmly into the baking dish, smoothing the top with a spatula or your hands.
Bake in a preheated oven for 20-30 minutes, or until edges are lightly golden. Let cool completely before slicing into bars.