Allowed templates for experienced fragments should be set for XF root folder, for example at /content/experience-fragments.
You need to define cq:allowedTemplates property as Sring[] and set all available templates there, example:
/libs/cq/experience-fragments/components/experiencefragment/template
/conf/we-retail/settings/wcm/templates/experience-fragment(.*)?