File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ def single_signon_service_binding(binding_priority = nil)
142142 # @return [String|nil] SingleSignOnService endpoint if exists
143143 #
144144 def single_signon_service_url ( options = { } )
145- binding = options [ :sso_binding ] || "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
145+ binding = options [ :sso_binding ] || single_signon_service_binding || "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
146146 node = REXML ::XPath . first (
147147 document ,
148148 "/md:EntityDescriptor/md:IDPSSODescriptor/md:SingleSignOnService[@Binding=\" #{ binding } \" ]/@Location" ,
@@ -172,7 +172,7 @@ def single_logout_service_binding(binding_priority = nil)
172172 # @return [String|nil] SingleLogoutService endpoint if exists
173173 #
174174 def single_logout_service_url ( options = { } )
175- binding = options [ :slo_binding ] || "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
175+ binding = options [ :slo_binding ] || single_logout_service_binding || "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
176176 node = REXML ::XPath . first (
177177 document ,
178178 "/md:EntityDescriptor/md:IDPSSODescriptor/md:SingleLogoutService[@Binding=\" #{ binding } \" ]/@Location" ,
You can’t perform that action at this time.
0 commit comments