You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

The Discovery Service JSON file is primary used for Discovery services to show information about the SP and IdP when selecting an IdP. But the information can be useful for other use-cases aswell. Please not that the JSON file includes data for both SWAMID and inter-federations. 

Please note that if an entity is both an IdP and a SP (like for ADFS) the entity will show up as type: idp.


Here is an example of listing all scopes for the IdPs registered in SWAMID with curl and jq.

curl -s https://mds.swamid.se/md/swamid-transitive-ds.json | jq '.[] | select ( .registrationAuthority == "http://www.swamid.se/" and .type == "idp" ) | "\(.scope) \(.entityID)"'



  • No labels