To generate ws-federation metadata for your own STS use the following tool. Federation metadata generation tool on GitHub or you just download a copy of the source here from my site.
The tool will not create a federation metdata file for a relying party (RP). To create a federation metadata file for a RP use the XML format below.
[Code lang=’xml’]
https://RPAddress
https://RPAddress
Pingback: Integrate Ws-Federation into Asp.Net Core - Wayne Clifford Barker