Using a food processor or blender, pour all the contents of one of the cans of beans and blend until smooth. You can also use a large bowl and process with a hand blender or immersion blender.
In a large pot, add in the olive oil, diced onions and minced fresh garlic. Cook on medium heat for about 3-4 minutes, stirring often with a wooden spoon until softened and the onions get a little colour.
Add in the cups of broth to deglaze your pot after a few minutes of cooking. Then add in the bay leaves, fresh thyme, red pepper flakes, salt, pepper.
Pour in the blended can of beans. Strain and rinse the second can of beans in cold water and add to your large saucepan.
Turn the temperature up to medium-high heat until a gentle boil, then reduce to low heat, cover and simmer for 15 minutes. Stir occasionally.
Fish out your fresh herbs and bay leaf, discard.
Remove from heat and allow to cool slightly before serving.