We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d149f5 commit 70e8ca7Copy full SHA for 70e8ca7
onelogin-saml-sso/php/settings.php
@@ -61,6 +61,7 @@
61
* Allow saml_acs URL query variable to be customized.
62
*/
63
$saml_acs = apply_filters( 'onelogin_saml_acs', 'saml_acs' );
64
+$saml_sls = apply_filters( 'onelogin_saml_acs', 'saml_sls' );
65
$acs_endpoint = get_option( 'onelogin_saml_alternative_acs', false ) ? plugins_url( 'alternative_acs.php', dirname( __FILE__ ) ) : wp_login_url() . '?' . $saml_acs;
66
67
$settings = array (
@@ -74,7 +75,7 @@
74
75
'url' => $acs_endpoint
76
),
77
'singleLogoutService' => array (
- 'url' => get_site_url().'/wp-login.php?saml_sls'
78
+ 'url' => get_site_url( null, '/wp-login.php?' . $saml_sls )
79
80
'NameIDFormat' => $opt['NameIDFormat'],
81
'x509cert' => get_option('onelogin_saml_advanced_settings_sp_x509cert'),
0 commit comments