GUACAMOLE-1322: fix SAML plugin loading

This commit is contained in:
Jean-Benoit Paux
2022-03-29 16:56:19 +02:00
committed by Unknown
parent 27494d765e
commit c8835338b0

View File

@@ -1046,7 +1046,7 @@ if [ -n "$OPENID_AUTHORIZATION_ENDPOINT" ]; then
fi
# Use SAML if specified
if [ -n "$SAML_IDP_METADATA_URL" ]; then
if [ -n "$SAML_IDP_METADATA_URL" ] || [ -n "$SAML_ENTITY_ID" -a -n "$SAML_CALLBACK_URL" ]; then
associate_saml
INSTALLED_AUTH="$INSTALLED_AUTH saml"
fi