> I return changes in templates and update RP configuration in TR . In /opt/idp/conf/relying-party.xml I found RelyingParty corresponding to my RP. But I'm not sure in one thing. provider field had value of my Gluu IDP entityID (https://<my Gluu server>/idp/shibboleth), not SP entityID
No, that's not it. This entry is always there and its Gluu's own internal feature, needed for Shib's integration in the framework. You shouldn't ever modify it. There must appear the entry of the same type just for your Salesforce SP too, under normal conditions. The fact that it didn't and "anonymous party" workflow is used is an issue. Please try the following:
1. Open your TR's settings in web UI again, add some attribute to the list, click the "Update" button, then remove it again, and click "Update" button again. That should ensure changes to template are applied.
2. Restart the tomcat service from within the container `# service tomcat restart`
Please also let us know the full version of the Gluu CE package, and your Linux distro's version.
I've just tested it in my 2.4.3 instance and entry appears in the file.