How generate metadata dynamically?
Hello.
Could you please help me to figure out the following:
I've connected a bundle to my project as a service provider (LightSAML SP Bundle) and for one particular idp everything is working fine. What I'm interested in is how to generate light_saml_symfony_bridge -> party -> idp -> files -> metadata dynamically depending on what company is logging in?
If I get it right - this metadata is generated by the client on idp side and redirects it to me (SP)
Thanks in advance.
Hi Katerina,
As obscurely documented on https://www.lightsaml.com/Symfony-Bridge/Configuration/ you can implement EntityDescriptorStoreInterface in a new service and tag it with lightsaml.idp_entity_store and that service will be asked if it has($entityId) for the incoming saml response and if answered true it will be asked to get($entityId) it. Hope that helps.
Thanks a lot for your answer. Could you please assist me one more time? How to establish a process of updating users data (e.g. name, phone number, job title)?