improve slo support flag
This commit is contained in:
parent
0cb99dc97f
commit
3dc69ed7b2
|
@ -53,9 +53,9 @@ if ! xmlsec1 --verify --id-attr:ID EntitiesDescriptor --pubkey-cert-pem $CERTIFI
|
|||
fi
|
||||
|
||||
if [ "$ALLOW_SLO" = "0" ]; then
|
||||
IDP_INITIATED_SLO=false
|
||||
SLO_SUPPORT=false
|
||||
else
|
||||
IDP_INITIATED_SLO=true
|
||||
SLO_SUPPORT=true
|
||||
fi
|
||||
|
||||
|
||||
|
@ -65,7 +65,7 @@ cat <<EOF >$FIXTURE_TMP
|
|||
{
|
||||
"model": "saml.spoptionsidppolicy",
|
||||
"fields" : {
|
||||
"accept_slo" : false,
|
||||
"accept_slo" : $SLO_SUPPORT,
|
||||
"accepted_name_id_format" : "transient,persistent",
|
||||
"ask_user_consent" : false,
|
||||
"authn_request_signed" : false,
|
||||
|
@ -76,7 +76,7 @@ cat <<EOF >$FIXTURE_TMP
|
|||
"federation_mode" : 0,
|
||||
"forward_slo" : true,
|
||||
"http_method_for_slo_request" : 4,
|
||||
"idp_initiated_sso" : $IDP_INITIATED_SLO,
|
||||
"idp_initiated_sso" : $SLO_SUPPORT,
|
||||
"iframe_logout_timeout" : 300,
|
||||
"name" : "Default",
|
||||
"needs_iframe_logout" : false,
|
||||
|
|
Reference in New Issue