We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f48d7e1 + 015eeb5 commit 490fc61Copy full SHA for 490fc61
1 file changed
onelogin-saml-sso/php/settings.php
@@ -58,7 +58,9 @@
58
}
59
60
61
-$acs_endpoint = get_option('onelogin_saml_alternative_acs', false) ? plugins_url( 'alternative_acs.php', dirname( __FILE__ ) ) : wp_login_url() . '?saml_acs';
+$acs_endpoint = get_option('onelogin_saml_alternative_acs', false)
62
+ ? plugins_url( 'alternative_acs.php', dirname( __FILE__ ) )
63
+ : add_query_arg( [ 'saml_acs' => '' ], wp_login_url() );
64
65
$settings = array (
66
@@ -71,7 +73,7 @@
71
73
'url' => $acs_endpoint
72
74
),
75
'singleLogoutService' => array (
- 'url' => get_site_url().'/wp-login.php?saml_sls'
76
+ 'url' => add_query_arg( [ 'saml_sls' => '' ], wp_login_url() )
77
78
'NameIDFormat' => $opt['NameIDFormat'],
79
'x509cert' => get_option('onelogin_saml_advanced_settings_sp_x509cert'),
0 commit comments