Preheat oven to 325 degrees.
Saute onions till soft and fragrant.
Blend sauce ingredients in blender until smooth. (make sure dates are blended well)
Mix white beans, onions, and sauce mixture into a baking dish.
Make sure to cover the dish with an oven safe lid or parchment and tinfoil.
Bake covered for 3-4 hours.