SAML-Toolkits / wordpress-saml

OneLogin SAML plugin for Wordpress
MIT License
65 stars 74 forks source link

Add Support for WPS Hide Login #115

Closed wernerkarlheisenberg closed 3 years ago

wernerkarlheisenberg commented 3 years ago

Detect whether WPS Hide Plugin is installed and enabled. If so, make sure the hidden URL is used instead of wp-login.php in SAML Login URL. If this is not the case, the RelayState parameter is not set properly.

pitbulk commented 3 years ago

That seems like a popular plugin, so let's merge this.

pitbulk commented 3 years ago

@wernerkarlheisenberg when that plugin is enabled, does the method wp_login_url returns the new url? If so I believe that rather than the solution we merged, is easier to just call wp_login_url instead the use of $login_page. Can you confirm?