How to use the metadata file (saml2)

user1621009 picture user1621009 · Nov 8, 2012 · Viewed 29k times · Source

I am working on a project that needs to be integrating SAML2.0. I was thrown into this project suddenly, i need to make it work. Here is the background: We have created the files and wanted Client Company to integrate using SAML2 to get to our web site. We have sent them the meta datafile.

Now the client company had sent their metadata file. I dont know how and what to do with that file. Any help will be appreciated.

ASP.NET, Framework 4.0

Answer

performanceuser picture performanceuser · Nov 8, 2012

The metadata file basically provides you information of your client. Such as entityID, credential, and so on. If it is an IdP then it also contain couple URLs so that you know where to send different request, e.g. login request, attribute query request. You need to give this metadata to your SAML component so that it know which client it should talk to.

Another main purpose is to establish a trust relationship between SP and IdP.