diff options
author | Björn Mattsson <bjorn@sunet.se> | 2022-01-18 13:39:03 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2022-01-18 13:39:03 +0100 |
commit | bec90587e0b14ab80169cc07cf582920f5236214 (patch) | |
tree | 7c56dbde91389622b6475cd3b8e2c6b4780cde31 /scripts/get-metadata.sh | |
parent | 40078f007e86c14ac2ad385d6e4e6f1b735988a8 (diff) |
SWAMID-609, Updated jenkins.led.ladok.se
Diffstat (limited to 'scripts/get-metadata.sh')
-rwxr-xr-x | scripts/get-metadata.sh | 2 |
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 |