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)
142
142
# @return [String|nil] SingleSignOnService endpoint if exists
143
143
#
144
144
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"
146
146
node = REXML ::XPath . first (
147
147
document ,
148
148
"/md:EntityDescriptor/md:IDPSSODescriptor/md:SingleSignOnService[@Binding=\" #{ binding } \" ]/@Location" ,
@@ -172,7 +172,7 @@ def single_logout_service_binding(binding_priority = nil)
172
172
# @return [String|nil] SingleLogoutService endpoint if exists
173
173
#
174
174
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"
176
176
node = REXML ::XPath . first (
177
177
document ,
178
178
"/md:EntityDescriptor/md:IDPSSODescriptor/md:SingleLogoutService[@Binding=\" #{ binding } \" ]/@Location" ,
You can’t perform that action at this time.
0 commit comments