code: def parse_remote(url, validate_cert=True, entity_id=None, **kwargs):
          
          idp_metadata = OneLogin_Saml2_IdPMetadataParser.get_metadata(url, validate_cert)
          return OneLogin_Saml2_IdPMetadataParser.parse(idp_metadata, entity_id=entity_id, **kwargs)
docs: Gets the metadata XML from the provided URL and parse it, returning a dict with extracted data
          :param url: Url where the XML of the Identity Provider Metadata is published.
          :type url: string
  
          :param validate_cert: If the url uses https schema, that flag enables or not the verification of the associated certificate.
          :type validate_cert: bool
  
          :param entity_id: Specify the entity_id of the EntityDescriptor that you want to parse a XML
                            that contains multiple EntityDescriptor.
          :type entity_id: string
  
          :returns: settings dict with extracted data
          :rtype: dict