To make these Samoa Cookie Bars gluten free, replace the all-purpose flour with a gluten-free 1:1 baking flour blend that contains xanthan gum. Use certified gluten-free caramels, chocolate, vanilla extract, and shredded coconut. Always check the labels on packaged ingredients to avoid hidden gluten or cross-contamination. For best texture, allow the gluten-free cookie base to cool completely before adding the caramel coconut topping.