...
IdP setup will vary depending on which IdP is being used. However, they generally all provide a link to the metadata in XML format that is needed to establish the connection between the IdP and the SP
The XML from the IdP needs to be converted into PHP format and appended to the above file using the metarefresh tool:
...