Finely chop the fresh garlic and shallots. You can mince them if you want to.
Transfer them to a bowl along with the seasonings.
Pour in the olive oil.
Give it all a good mix and refrigerate until ready to use.
Notes
To enhance the flavors of the olive oil sauce, heat the olive oil for a few minutes and then pour the hot oil on the top of the garlic and shallot mixture.
To make things quicker, use a food processor to blitz the garlic and shallots into fine pieces.
If you're working with a smaller batch of the sauce and have only a few garlic cloves and shallots, using a food processor may not be a great idea, as the bits can stick to the sides. Use a microplane to grate them instead.
Store your leftover olive oil sauce in a glass jar or an airtight container in the refrigerator for 4-5 days. I wouldn't recommend storing it beyond this point, as food safety experts highly advise against storing raw garlic in oil for long.