Preheat your oven to 350 F and line a 9x13-inch baking dish with parchment paper.
In a large bowl, stir together the oats, flour, dried fruit, walnuts (if using), cinnamon, and salt.
Put the sugar, flaxseed, honey, oil, applesauce, egg, and vanilla in a mixing bowl. Beat with a hand mixer until relatively smooth. Add the dry mixture and stir to combine.
Scrape the dough into your prepared pan and evenly press it in with damp hands. It will be rather sticky, but water on your hands helps to prevent sticking.
Bake 25 minutes, or until the edges are golden.
Let cool completely in the pan. Remove the bars using the parchment paper and cut into bars.
Recipe by Go Dairy Free at https://www.godairyfree.org/recipes/baked-granola-bars