Importing FederationMetadata.xml File.

Hi,

I need to import a FederationMetadata.xml file exposed through an endpoint. The ComponentSpace.Saml2 ASP.Net Core library has the MetadataToConfiguration.ImportUrl() method where i can provide the endpoint and generate the SamlConfigrations. Do you have a similar implementation in the ASP.Net implementation to import the Metadata file using a URL or an XmlDocument?

I’m afraid we don’t but it’s easy enough to implement.
Please take a look at the ExampleServiceProvider’s SAML/ImportMetadata.aspx page.
This demonstrates uploading and importing a metadata file.

That would work fine. Thank you :slight_smile:

You’re welcome.