psignoret / aad-sso-wordpress

Single Sign-on with Azure Active Directory (for WordPress)
Other
266 stars 79 forks source link

We should hide the default login-UI (usename and password) .. #222

Open akkaneko-ms opened 5 years ago

akkaneko-ms commented 5 years ago

Hi Philippe, I tried this plugin for single sign-on to wordpress admin console and it worked. Then next, we should hide the default login-UI (usename and password) because the endusers can sign-in directly with username & password in "~/wp-login.php" top page. Does this plugin have a function for avoid the direct access (not using AAD) too?

Akhiro

akkaneko-ms commented 5 years ago

image

mrjarbenne commented 4 years ago

If you select the check box:

Enable auto-forward to Azure AD | Automatically forward users to the Azure AD to sign in, skipping the WordPress login screen.

Anyone attempting to access the wp-login.php page is redirected, in essence hiding the login page from your image above.

bradkovach commented 4 years ago

@akkaneko-ms @mrjarbenne is correct. You will effectively "skip" the wp-login page with that setting.

Unrelated to your issue, are you able to contribute Japanese translations?

psignoret commented 4 years ago

@akkaneko-ms If you just want to hide the login form and automatically redirect, there is already an option for that (mentioned above). However, this plugin does not prevent any user from signing in with username/password. It's an interesting feature request, if it's not already possible with a different plugin, it's something we could probably add here at some point.

8biteric commented 4 years ago

@akkaneko-ms If you still need to hide the WP fields, you can modify the page as I detailed in https://github.com/psignoret/aad-sso-wordpress/issues/228