diff options
author | Björn Mattsson <Bjorn.Mattsson@bth.se> | 2017-10-09 13:49:39 +0200 |
---|---|---|
committer | Björn Mattsson <Bjorn.Mattsson@bth.se> | 2017-10-09 13:49:39 +0200 |
commit | 9eda0b6fe01576e2957d8f67f5e8d2d67646a127 (patch) | |
tree | 6f3230aff366352a9ec9285993df2ab13860dace /scripts/get-metadata.sh | |
parent | 329f812cb2275c348af957928f6735ebcafa9813 (diff) |
Resolved SWAMID-224
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 efc73c7d..3e39b80e 100755 --- a/scripts/get-metadata.sh +++ b/scripts/get-metadata.sh @@ -39,7 +39,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" + urls="https://${metadataurl}/idp/shibboleth https://${metadataurl}/Shibboleth.sso/Metadata https://${metadataurl}/saml/index/sp-metadata https://${metadataurl}/saml/metadata" for i in ${urls}; do metadata=`curl -s -k -f "${i}"` [ -n "${metadata}" ] && break |