Soak chickpeas or lentils thoroughly, then drain the water.
Preheat the oven to 180°C (356°F).
Mix soaked beans, oatmeal flour, olive oil, salt, and vanilla extract to make a dough.
Shape the dough into bite-sized pieces and place them on a baking sheet lined with parchment paper.
Bake in the oven at 180°C (356°F) for 20 minutes.
Let cool before serving.