summaryrefslogtreecommitdiff
path: root/scripts/get-metadata.sh
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2022-01-18 13:39:03 +0100
committerBjörn Mattsson <bjorn@sunet.se>2022-01-18 13:39:03 +0100
commitbec90587e0b14ab80169cc07cf582920f5236214 (patch)
tree7c56dbde91389622b6475cd3b8e2c6b4780cde31 /scripts/get-metadata.sh
parent40078f007e86c14ac2ad385d6e4e6f1b735988a8 (diff)
SWAMID-609, Updated jenkins.led.ladok.se
Diffstat (limited to 'scripts/get-metadata.sh')
-rwxr-xr-xscripts/get-metadata.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get-metadata.sh b/scripts/get-metadata.sh
index a7574458..55f33ec7 100755
--- a/scripts/get-metadata.sh
+++ b/scripts/get-metadata.sh
@@ -45,7 +45,7 @@ else
if [ -s "${metadataurl}" ]; then
metadata=`cat "$metadataurl"`
else
- urls="https://${metadataurl}/idp/shibboleth https://${metadataurl}/Shibboleth.sso/Metadata https://${metadataurl}/saml/index/sp-metadata https://${metadataurl}/saml/metadata https://${metadataurl}/federationmetadata/2007-06/federationmetadata.xml"
+ urls="https://${metadataurl}/idp/shibboleth https://${metadataurl}/Shibboleth.sso/Metadata https://${metadataurl}/saml/index/sp-metadata https://${metadataurl}/saml/metadata https://${metadataurl}/federationmetadata/2007-06/federationmetadata.xml https://metadata.swamid.se/?rawXML=${metadataurl}"
for i in ${urls}; do
metadata=`curl -L -s -k -f "${i}"`
[ -n "${metadata}" ] && break